[visionegg] Bug in FilledCircle and fix
- From: Douglas Taylor <dtaylor@xxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Tue, 24 Jan 2006 12:12:36 -0800
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
- Follow-Ups:
- [visionegg] Re: Bug in FilledCircle and fix
- From: Andrew Straw
Other related posts:
- » [visionegg] Bug in FilledCircle and fix
- » [visionegg] Re: Bug in FilledCircle and fix
- [visionegg] Re: Bug in FilledCircle and fix
- From: Andrew Straw