Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glgetclipplane(3g) [xfree86 man page]

GLGETCLIPPLANE(3G)														GLGETCLIPPLANE(3G)

NAME
glGetClipPlane - return the coefficients of the specified clipping plane C SPECIFICATION
void glGetClipPlane( GLenum plane, GLdouble *equation ) PARAMETERS
plane Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANEi where 0 <= i < GL_MAX_CLIP_PLANES. equation Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). DESCRIPTION
glGetClipPlane returns in equation the four coefficients of the plane equation for plane. NOTES
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. ERRORS
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. SEE ALSO
glClipPlane(3G) GLGETCLIPPLANE(3G)

Check Out this Related Man Page

GLCLIPPLANE(3G) 														   GLCLIPPLANE(3G)

NAME
glClipPlane - specify a plane against which all geometry is clipped C SPECIFICATION
void glClipPlane( GLenum plane, const GLdouble *equation ) PARAMETERS
plane Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, 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 equa- tion. DESCRIPTION
Geometry is always clipped against the boundaries of a six-plane frustum in x, y, and z. glClipPlane allows the specification of addi- tional planes, not necessarily perpendicular to the x, y, or z axis, against which all geometry is clipped. To determine the maximum num- ber of additional clipping planes, call glGetIntegerv with argument GL_MAX_CLIP_PLANES. All implementations support at least six such clip- ping planes. Because the resulting clipping region is the intersection of the defined half-spaces, it is always convex. glClipPlane specifies a half-space using a four-component plane equation. When glClipPlane is called, equation is transformed by the inverse of the modelview matrix and stored in the resulting eye coordinates. Subsequent changes to the modelview matrix have no effect on the stored plane-equation components. If the dot product of the eye coordinates of a vertex with the stored plane equation components is positive or zero, the vertex is in with respect to that clipping plane. Otherwise, it is out. To enable and disable clipping planes, call glEnable and glDisable with the argument GL_CLIP_PLANEi, where i is the plane number. All clipping planes are initially defined as (0, 0, 0, 0) in eye coordinates and are disabled. NOTES
It is always the case that GL_CLIP_PLANEi = GL_CLIP_PLANE0+i. ERRORS
GL_INVALID_ENUM is generated if plane is not an accepted value. GL_INVALID_OPERATION is generated if glClipPlane is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGetClipPlane glIsEnabled with argument GL_CLIP_PLANEi SEE ALSO
glEnable GLCLIPPLANE(3G)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No xorg.conf or XF86Config

There is no xorg.conf file and no XF86Config file on a certain FreeBSD machine: # locate xorg.conf /usr/local/man/man5/xorg.conf.5.gz # locate XF86Config # Can someone let me know if that means that there is a bare bones set up possible only? xrandr works fine, but I am looking for ways to... (6 Replies)
Discussion started by: figaro
6 Replies

2. Shell Programming and Scripting

Can a script resize it's own mintty console?

I'm looking for finer granularity than the 20 ANSI escape sequence screen modes. What I'd like to do is have the terminal increase it's own height when I have to show the user a long menu. Platform is Cygwin 64 running over Win 7 Pro. Mike (4 Replies)
Discussion started by: Michael Stora
4 Replies

3. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

4. Fedora

Fedora 30 and Slackware 14.2, how to obtain the same rendering?

Look this very good rendering on Slackware 14.2 in my opinion is near perfect. https://i.stack.imgur.com/q5trL.png Now look the same page on Fedora 30 https://i.stack.imgur.com/FBQv7.png In my opinion the fonts on Fedora are too small and difficult to read, I prefer the fat fonts of... (20 Replies)
Discussion started by: Linusolaradm1
20 Replies