NAME ^

lib/glut.pir - GLUT library

DESCRIPTION ^

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)
not LuaGL
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 ()


parrot