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

gluQuadricDrawStyle Subroutine

Purpose

Specifies the desired quadric drawing style.

Library

OpenGL C bindings library: libGL.a

C Syntax

void gluQuadricDrawStyle( GLUquadric* qobj, 
   GLenum draw )

Description

The gluQuadricDrawStyle subroutine specifies the draw style for quadrics rendered with the quad parameter. Legal values are as follows:

GLU_FILL Quadrics are rendered with polygon primitives. The polygons are drawn counterclockwise of their normals (as defined with the gluQuadricOrientation subroutine).
GLU_LINE Quadrics are rendered as a set of lines.
GLU_SILHOUETTE Quadrics are rendered as a set of lines; however, edges separating coplanar faces are not drawn.
GLU_POINT Quadrics are rendered as a set of points.

Parameters

quad Specifies the quadrics object created with the gluNewQuadric subroutine.
draw Specifies the desired draw style. Valid values are as follows:
  • GLU_FILL
  • GLU_LINE
  • GLU_SILHOUETTE
  • GLU_POINT

Files

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

Related Information

The gluNewQuadric subroutine, gluQuadricNormals subroutine, gluQuadricOrientation subroutine, gluQuadricTexture subroutine.

OpenGL Overview.


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