[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

gluNewQuadric Subroutine


Creates a quadrics object.


OpenGL C bindings library: libGL.a

C Syntax

GLUquadricObj* gluNewQuadric( void )


The gluNewQuadric subroutine 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 zero means that there is not enough memory to allocate the object.

Return Values

0 Indicates insufficient memory to allocate the object.


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

Related Information

The gluCylinder subroutine, gluDeleteQuadric subroutine, gluDisk subroutine, gluPartialDisk subroutine, gluQuadricCallback subroutine, gluQuadricDrawStyle subroutine, gluQuadricNormals subroutine, gluQuadricOrientation subroutine, gluQuadricTexture subroutine, gluSphere subroutine.

OpenGL Overview.

[ Previous | Next | Contents | Glossary | Home | Search ]