gluQuadricOrientation

NAME

gluQuadricOrientation -- specify inside/outside orientation for quadrics

C SPECIFICATION

void gluQuadricOrientation(GLUquadricObj *quadObject,
                           GLenum orientation)

PARAMETERS

quadObject
Specifies the quadrics object (created with gluNewQuadric).

orientation
Specifies the desired orientation. Valid values are GLU_OUTSIDE and GLU_INSIDE.

DESCRIPTION

gluQuadricOrientation specifies what kind of orientation is desired for quadrics rendered with quadObject. The orientation values are as follows:
GLU_OUTSIDE
Quadrics are drawn with normals pointing outward.

GLU_INSIDE
Normals point inward. The default is GLU_OUTSIDE.
Note that the interpretation of outward and inward depends on the quadric being drawn.

SEE ALSO

gluNewQuadric, gluQuadricDrawStyle, gluQuadricNormals, gluQuadricTexture


back to the OpenGL index page


© 1995 Uwe Behrens All rights reserved