gluQuadricNormals

The gluQuadricNormals function specifies what kind of normals are to be used for quadrics.

void gluQuadricNormals(
  GLUquadricObj *qobj,   
  GLenum normals         
);
 

Parameters

qobj
The quadric object (created with gluNewQuadric).
normals
The desired type of normals. The following values are valid.
Value Meaning
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 value.

Remarks

The gluQuadricNormals function specifies what kind of normals are to be used for quadrics rendered with qobj.

QuickInfo

  Windows NT: Use version 3.5 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in glu.h.
  Import Library: Link with glu32.lib.

See Also

gluNewQuadric, gluQuadricDrawStyle, gluQuadricOrientation, gluQuadricTexture