Did you know ... Search Documentation:
Pack plOpenGL -- prolog/plGLUT.pl
PublicShow source

This module is the glut extension of the Prolog OpenGL Interface (plOpengL)

author
- Jan Tatham
license
- LGPL 2.1
 glutCreateWindow(+String)
Creates a top-level window
 glutDestroyWindow
Destroys the window
 glutDisplayFunc
Sets the display callback for the current window.
 glutFullScreen
Requests that the current window be made full screen.
 glutGet(+State, -Answer)
Retrieves simple GLUT state represented by integers.
 glutDisplayFunc(+String)
Requests that the current window be made full screen.
 glutIdleFunc(+String)
Sets the global idle callback.
 glutInit
Used to initialize the GLUT library.
 glutInitDisplayMode(+OptionList)
Sets the initial display mode.
 glutInitWindowPosition(+X, +Y)
set the initial window position.
 glutInitWindowSize(+X, +Y)
set the initial window size.
 glutKeyboardFunc
Sets the keyboard callback for the current window.
 glutMainLoop
Enters the GLUT event processing loop.
 glutMotionFunc
Set the motion and passive motion callbacks respectively for the current window.
 glutMouseFunc
Sets the mouse callback for the current window.
 glutPostRedisplay
Marks the current window as needing to be redisplayed.
 glutReshapeFunc
Sets the reshape callback for the current window.
 glutReshapeWindow(+W, +H)
Requests a change to the size of the current window.
 glutSetColor(+Index, +Red, +Green, +Blue)
Sets the color of a colormap entry in the layer of use for the current window.
 glutSolidCone(+Radius, +Height, +Slices, +Stacks)
Render a solid cone
 glutSolidCube(+Size)
Render a solid cube
 glutSolidSphere(+Radius, +Slices, +Stacks)
Render a solid sphere
 glutSolidTeapot(+Size)
Render a solid teapot
 glutSolidTorus(+InnerRadius, +OuterRadius, +NSides, +Rings)
Render a solid torus
 glutSwapBuffers
Swaps the buffers of the current window if double buffered.
 glutWireCone(+Radius, +Height, +Slices, +Stacks)
Render a wireframe cone
 glutWireCube(+Size)
Render a wireframe cube
 glutWireSphere(+Radius, +Slices, +Stacks)
Render a wireframe sphere
 glutWireTeapot(+Size)
Render a wireframe teapot
 glutWireTorus(+InnerRadius, +OuterRadius, +NSides, +Rings)
Render a wireframe torus