Specifies inside and outside orientation for quadrics.
OpenGL C bindings library: libGL.a
void gluQuadricOrientation( GLUquadric* quad, GLenum orientation)
The gluQuadricOrientation subroutine specifies the desired orientation for quadrics rendered with the quad parameter option. Acceptable values for the orientation parameter are as follows:
GLU_OUTSIDE | Quadrics are drawn with normals pointing outward. This value is the default. |
GLU_INSIDE | Quadrics are drawn with normals pointing inward. The default value is GLU_OUTSIDE. |
Note: Outward and inward orientations are defined relative to the quadric being drawn.
quad | Specifies the quadrics object created with the gluNewQuadric subroutine. |
orientation | Specifies the desired orientation. Valid values are GLU_OUTSIDE and GLU_INSIDE. |
/usr/include/GL/gl.h | Contains C language constraints, variable type definitions, and ANSI function prototypes for OpenGL. |
The gluNewQuadric subroutine, gluQuadricDrawStyle subroutine, gluQuadricNormals subroutine, gluQuadricTexture subroutine.