[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

gluQuadricNormals Subroutine

Purpose

Specifies the desired normals for quadrics.

Library

OpenGL C bindings library: libGL.a

C Syntax

void gluQuadricNormals(GLUquadricObj *qobj, 
   GLenum Normals)

Description

The gluQuadricNormals subroutine specifies the desired normals for quadric objects rendered with the qobj parameter option. Legal DrawStyle parameter 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 value is the default.

Parameters

qobj Specifies the quadrics object created with the gluNewQuadric subroutine.
Normals Specifies the desired type of normals. Valid values are as follows:
  • GLU_NONE
  • GLU_FLAT
  • GLU_SMOOTH

Files

/usr/include/GL/gl.h Contains C language constraints, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The gluNewQuadric subroutine, gluQuadricDrawStyle subroutine, gluQuadricOrientation subroutine, gluQuadricTexture subroutine.

OpenGL Overview.


[ Previous | Next | Contents | Glossary | Home | Search ]