请输入您要查询的百科知识:

 

词条 gluQuadricNormals
释义

gluQuadricNormals

NAME

gluQuadricNormals -- specify what kind of normals are desired for quadrics

C SPECIFICATION

void gluQuadricNormals(GLUquadricObj *quadObject,

GLenum normals)

PARAMETERS

quadObject

Specifes the quadrics object (created with gluNewQuadric).

normals

Specifies the desired type of normals. Valid values are GLU_NONE, GLU_FLAT, and GLU_SMOOTH.

DESCRIPTION

gluQuadricNormals specifies what kind of normals are desired for quadrics rendered with quadObject. The legal values are as follows:

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.

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/1/30 14:02:34