gluQuadricCallback -- define a callback for a quadrics object
void gluQuadricCallback(GLUquadricObj *qobj,
void (*fn)() )
Specifies the quadrics object (created with
Specifies the callback being defined. The only valid value is
Specifies the function to be called.
gluQuadricCallback is used to define a new callback to be used by a
quadrics object. If the specified callback is already defined, then it is
replaced. If fn is NULL, then any existing callback is erased.
The one legal callback is GLU_ERROR:
The function is called when an error is encountered. Its single argument is
of type GLenum, and it indicates the specific error that occurred.
Character strings describing these errors can be retrieved with the
back to the OpenGL index page
© 1995 Uwe Behrens All rights reserved