parrotcode: GLUT library | |
Contents | Language Implementations | Lua |
lib/glut.pir - GLUT library
This file implements the GLUT binding for Lua.
See original on http://luagl.wikidot.com/
This implementation is based on a wrapper over OpenGL, see runtime/parrot/library/OpenGL.pir.
glut.CreateWindow (title)
glut.DestroyWindow (window)
glut.DisplayFunc (funcname)
glut.IdleFunc (funcname)
glut.Init ()
glut.InitDisplayMode ()
glut.InitWindowSize (width, height)
glut.KeyboardFunc (funcname)
glut.MainLoop ()
glut.PostRedisplay ()
glut.ReshapeFunc (funcname)
glut.SwapBuffers ()
Francois Perrad
|