GLGETCLIPPLANE(3G) | GLGETCLIPPLANE(3G) |
glGetClipPlane - return the coefficients of the specified clipping plane
void glGetClipPlane( GLenum plane,
GLdouble *equation )
glGetClipPlane returns in equation the four coefficients of the plane equation for plane.
It is always the case that GL_CLIP_PLANEi = GL_CLIP_PLANE0 + i.
If an error is generated, no change is made to the contents of equation.
GL_INVALID_ENUM is generated if plane is not an accepted value.
GL_INVALID_OPERATION is generated if glGetClipPlane is executed between the execution of glBegin and the corresponding execution of glEnd.
glClipPlane