Scroll to navigation

GLUQUADRICNORMALS(3G) GLUQUADRICNORMALS(3G)

NAME

gluQuadricNormals - specify what kind of normals are desired for quadrics

C SPECIFICATION

void gluQuadricNormals( GLUquadric* quad,

	GLenum normal )

PARAMETERS

Specifes the quadrics object (created with gluNewQuadric).
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 quad. The legal values are as follows:

No normals are generated.
One normal is generated for every facet of a quadric.
One normal is generated for every vertex of a quadric. This is the initial value.

SEE ALSO

gluNewQuadric(3G), gluQuadricDrawStyle(3G), gluQuadricOrientation(3G), gluQuadricTexture(3G)