[visionegg] Re: Bug in FilledCircle and fix

Thanks Doug. This is fixed in svn revision 1363.

http://visionegg.org/cgi-bin/viewcvs.cgi/trunk/visionegg/src/MoreStimuli.py?r1=1338&r2=1363&p1=trunk/visionegg/src/MoreStimuli.py&p2=trunk/visionegg/src/MoreStimuli.py

Douglas Taylor wrote:

Hi Andrew,

There is a minor bug in the FilledCircle routine when
drawing circles of large radii. The last slice is not being
drawn. To complete the circle I added the line

           gl.glVertex2fv(verts[0])
after
           for i in range(verts.shape[0]):
               gl.glVertex2fv(verts[i])
so the fix appear as

           for i in range(verts.shape[0]):
               gl.glVertex2fv(verts[i])
           gl.glVertex2fv(verts[0])

Best,

Doug

======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html


======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: