gluNewQuadric

create a quadrics object

Signature

gluNewQuadric( )-> GLUquadric*
gluNewQuadric( ) -> <class 'OpenGL.GLU.quadrics.LP_GLUQuadric'>
gluNewQuadric(  ) -> GLUQuadric
    
Create a new GLUQuadric object

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

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

gluNewQuadric
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson18.py Lines: 105
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 55
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 95
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 171
{Artistic License} PymmLib pymmlib/mmLib/OpenGLDriver.py Lines: 469
{LGPL} PyMT examples/games/untangle/graph.py Lines: 17, 20
{LGPL} PyMT pymt/graphx/draw.py Lines: 21, 230, 232, 568, 588
{LGPL} pygl2d pygl2d/draw.py Lines: 146
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Examples/OpenGL/Checkers/CheckersPiece.py Lines: 48
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 309
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 69
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Spheres.py Lines: 49
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Examples/Checkers/CheckersPiece.py Lines: 48
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/Examples/Checkers/CheckersPiece.py Lines: 48
{LGPL or GPL or MPL} Kamaelia Sketches/THF/Packages/Examples/Checkers/CheckersPiece.py Lines: 48