[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

gluQuadricNormals Subroutine

Purpose

Specifies the desired normals for quadrics.

Library

OpenGL C bindings library: libGL.a

C Syntax

void gluQuadricNormals( GLUquadric* quad, 
   GLenum normal)

Description

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

quad Specifies the quadrics object created with the gluNewQuadric subroutine.
normal 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.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]