Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello dear monks! I'm developing an application using OpenGL. I need some kind of asynchronous behaviour, i.e. when some graphical objects are moving, it should be possible that another events occur. The common way of writing OpenGL code is to enter to OpenGL/GLUT event loop via: glutMainLoop. Good! But how could I manage schedule-based world mechanics then? I tried to use AnyEvent, but it seems, that simple code like:
Isn't working, when it enters into glutMainLoop. What can I do to make AE work? (OpenGL backend isn't listed among the available AE backends). Thanks for any help! In reply to OpenGL and AnyEvent by basiliscos
|
|