gluQuadricNormals

NAME

gluQuadricNormals -- specify what kind of normals are desired for quadrics

C SPECIFICATION

void gluQuadricNormals(GLUquadricObj *quadObject,
                       GLenum normals)

PARAMETERS

quadObject
Specifes the quadrics object (created with gluNewQuadric).

normals
Specifies the desired type of normals. Valid values are GLU_NONE, GLU_FLAT, and GLU_SMOOTH.

DESCRIPTION

gluQuadricNormals specifies what kind of normals are desired for quadrics rendered with quadObject. The legal values are as follows:
GLU_NONE
No normals are generated.

GLU_FLAT
One normal is generated for every facet of a quadric.

GLU_SMOOTH
One normal is generated for every vertex of a quadric. This is the default.

SEE ALSO

gluNewQuadric, gluQuadricDrawStyle, gluQuadricOrientation, gluQuadricTexture


back to the OpenGL index page


© 1995 Uwe Behrens All rights reserved