glClipPlane

specify a plane against which all geometry is clipped

Signature

glClipPlane( GLenum ( plane ) , const GLdouble * ( equation ) )-> void
glClipPlane( plane , equation )

Parameters

VariablesDescription
plane
Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANE i , where i is an integer between 0 and GL_MAX_CLIP_PLANES -1 , are accepted.
equation
Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.

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.

glClipPlane
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 162

MathML Rendering

Powered by MathJax