[visionegg] Bug in FilledCircle and fix

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

Other related posts: