I want to draw a scene and successively add lines to it. But pyglet
keeps updating and clearing everything :( , so all I get is blinks of
a single line...
from pyglet.gl import *
window=pyglet.window.Window()
def drawline():
...
@window.event
def on_draw():
drawline()
pyglet.app.run()
what should I do? thanks。
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---