gluQuadricOrientation

The gluQuadricOrientation function specifies inside or outside orientation for quadrics.

void gluQuadricOrientation(
  GLUquadricObj * quadObject,   
  GLenum orientation            
);
 

Parameters

quadObject
The quadric object (created with gluNewQuadric).
orientation
The desired orientation. The following values are valid.
Value Meaning
GLU_OUTSIDE Draw quadrics with normals pointing outward. This is the default value.
GLU_INSIDE Draw quadrics with normals pointing inward.

Remarks

The gluQuadricOrientation function specifies what kind of orientation is desired for quadrics rendered with quadObject. The interpretation of outward and inward depends on the quadric being drawn.

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, gluQuadricNormals, gluQuadricTexture