define a 2D orthographic projection matrix


gluOrtho2D( GLdouble ( left ) , GLdouble ( right ) , GLdouble ( bottom ) , GLdouble ( top ) )-> void
gluOrtho2D( left , right , bottom , top )
gluOrtho2D( GLdouble(left), GLdouble(right), GLdouble(bottom), GLdouble(top) ) -> None


left, right
Specify the coordinates for the left and right vertical clipping planes.
bottom, top
Specify the coordinates for the bottom and top horizontal clipping planes.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

OpenGL-Demo PyOpenGL-Demo/redbook/ Lines: 124
OpenGL-Demo PyOpenGL-Demo/redbook/ Lines: 90, 92
OpenGL-Demo PyOpenGL-Demo/NeHe/ Lines: 276
Glinter Lines: 666
Gloopy gloopy/view/ Lines: 67, 77