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

gluQuadricOrientation Subroutine

Purpose

Specifies inside and outside orientation for quadrics.

Library

OpenGL C bindings library: libGL.a

C Syntax

void gluQuadricOrientation( GLUquadric* quad, 
   GLenum orientation)

Description

The gluQuadricOrientation subroutine specifies the desired orientation for quadrics rendered with the quad parameter option. Acceptable values for the orientation parameter are as follows:

GLU_OUTSIDE Quadrics are drawn with normals pointing outward. This value is the default.
GLU_INSIDE Quadrics are drawn with normals pointing inward. The default value is GLU_OUTSIDE.
Note: Outward and inward orientations are defined relative to the quadric being drawn.

Parameters

quad Specifies the quadrics object created with the gluNewQuadric subroutine.
orientation Specifies the desired orientation. Valid values are GLU_OUTSIDE and GLU_INSIDE.

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, gluQuadricNormals subroutine, gluQuadricTexture subroutine.

OpenGL Overview.


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