gluNewQuadric
Prev GLU Next

Name

gluNewQuadric — create a quadrics object

C Specification

GLUquadric* gluNewQuadric ();

Python Specification

gluNewQuadric () →  quad

Description

gluNewQuadric creates and returns a pointer to a new quadrics object. This object must be referred to when calling quadrics rendering and control functions. A return value of 0 means that there is not enough memory to allocate the object.

See Also

gluCylinder , gluDeleteQuadric , gluDisk , gluPartialDisk , gluQuadricCallback , gluQuadricDrawStyle , gluQuadricNormals , gluQuadricOrientation , gluQuadricTexture , gluSphere

Python Sample Code

gluNewQuadric
  • OpenGL/Demo/NeHe/lesson18.py Ln#108
  • OpenGLContext/scenegraph/quadrics.py Ln#34


Prev Up Next
gluNewNurbsRenderer Home gluNewTess