Scroll to navigation

GLUQUADRICDRAWSTYLE(3G) OpenGL Manual GLUQUADRICDRAWSTYLE(3G)

NAME

gluQuadricDrawStyle - specify the draw style desired for quadrics

C SPECIFICATION

void gluQuadricDrawStyle(GLUquadric* quad, GLenum draw);

PARAMETERS

quad

Specifies the quadrics object (created with gluNewQuadric()).

draw

Specifies the desired draw style. Valid values are GLU_FILL, GLU_LINE, GLU_SILHOUETTE, and GLU_POINT.

DESCRIPTION

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

GLU_FILL

Quadrics are rendered with polygon primitives. The polygons are drawn in a counterclockwise fashion with respect to their normals (as defined with gluQuadricOrientation()).

GLU_LINE

Quadrics are rendered as a set of lines.

GLU_SILHOUETTE

Quadrics are rendered as a set of lines, except that edges separating coplanar faces will not be drawn.

GLU_POINT

Quadrics are rendered as a set of points.

SEE ALSO

gluNewQuadric(), gluQuadricNormals(), gluQuadricOrientation(), gluQuadricTexture()

COPYRIGHT

Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.

AUTHORS

opengl.org

04/12/2021 opengl.org