[Front] [Reference] [Imp. Guide] [Index]

gluQuadricNormals
[Prev] [Next]

gluQuadricNormals: specify what kind of normals are desired for quadrics.

C Specification | Parameters | Description | See Also

[Up] C Specification

void gluQuadricNormals(
    GLUquadric*	 quad,
    GLenum	 normal)

[Up] Parameters

quad
Specifes the quadrics object (created with gluNewQuadric).
normal
Specifies the desired type of normals. Valid values are GLU_NONE, GLU_FLAT, and GLU_SMOOTH.

[Up] Description

gluQuadricNormals specifies what kind of normals are desired for quadrics rendered with quad. 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 initial value.

[Up] See Also

gluNewQuadric,
gluQuadricDrawStyle,
gluQuadricOrientation,
gluQuadricTexture

[Prev] [Next]
Front Reference [Imp. Guide] Index