I was working with vector list to create a grid on top of my window.
This would involve lots of squares (48*32) that would need to be
refreshed.

This is when I ran into an issue trying to use a pyglet.graphics.batch
()

###self.rendered_heatmap_batch.draw()

###for row in self.rendered_heatmap:
#######for element in row:
###########element.draw(pyglet.gl.GL_POLYGON)

for some reason, the top line of code produces the polygons, but with
errors. The bottom line for loop however works perfectly fine.

top: http://yfrog.com/j980617869j

bottom: http://yfrog.com/6263983072j
-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.


Reply via email to