[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

gluQuadricOrientation Subroutine


Specifies inside and outside orientation for quadrics.


OpenGL C bindings library: libGL.a

C Syntax

void gluQuadricOrientation(GLUquadricObj *qobj, 
   GLenum Orientation)


The gluQuadricOrientation subroutine specifies the desired orientation for quadrics rendered with the qobj 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.


qobj 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.

Related Information

The gluNewQuadric subroutine, gluQuadricDrawStyle subroutine, gluQuadricNormals subroutine, gluQuadricTexture subroutine.

OpenGL Overview.

[ Previous | Next | Contents | Glossary | Home | Search ]