gluQuadricOrientation

gluQuadricOrientation function

The gluQuadricOrientation function specifies inside or outside orientation for quadrics.

Syntax


void WINAPI gluQuadricOrientation(
   GLUquadric *quadObject,
   GLenum     orientation
);

Parameters

quadObject

The quadric object (created with gluNewQuadric).

orientation

The desired orientation. The following values are valid.

ValueMeaning
GLU_OUTSIDE

Draw quadrics with normals pointing outward. This is the default value.

GLU_INSIDE

Draw quadrics with normals pointing inward.

 

Return value

This function does not return a value.

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Glu.h

Library

Glu32.lib

DLL

Glu32.dll

See also

gluNewQuadric
gluQuadricDrawStyle
gluQuadricNormals
gluQuadricTexture

 

 

Community Additions

ADD
Show:
© 2016 Microsoft