gluQuadricNormals function

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

Syntax


void WINAPI gluQuadricNormals(
   GLUquadric *quadObject,
   GLenum     normals
);

Parameters

quadObject

The quadric object (created with gluNewQuadric).

normals

The desired type of normals. The following values are valid.

ValueMeaning
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.

 

Return value

This function does not return a value.

Remarks

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

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
gluQuadricOrientation
gluQuadricTexture

 

 

Show: