equationArray = gl.GetClipPlane(plane)
gl.GetClipPlane()
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.
Please consult an OpenGL reference manual for more information.
#GL_CLIP_PLANEi
where i
ranges from 0 to the value of #GL_MAX_CLIP_PLANES
- 1#GL_INVALID_ENUM
is generated if plane is not an accepted value.
#GL_INVALID_OPERATION
is generated if gl.GetClipPlane()
is executed between the execution of gl.Begin() and the corresponding execution of gl.End() .