Export (0) Print
Expand All

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.

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


  

Community Additions

Show:
© 2015 Microsoft