Share via


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.

Requirements

**  Windows NT/2000:** Requires Windows NT 3.5 or later.
**  Windows 95/98:** Requires Windows 95 or later. Available as a redistributable for Windows 95.
**  Header:** Declared in Glu.h.
**  Library:** Use Glu32.lib.

See Also

gluNewQuadric, gluQuadricDrawStyle, gluQuadricOrientation, gluQuadricTexture