Files Classes Functions Hierarchy
#include <gobj.h>
Public Member Functions | |
| gobjgluSphere (GLUquadricObj *&qobj_, GLdouble radius_, GLint slices_, GLint stacks_) | |
| void | draw () |
| Draw the object. | |
Public Attributes | |
| GLUquadricObj *& | qobj |
| GLdouble | radius |
| GLint | slices |
| GLint | stacks |
gluSphere (q, 0.8, 20, 20); // a sphere gluSphere (q, 0.8, 20, 20); // a smartie ...when scaled of course gluSphere (q, 0.8, 20, 20); // an ellipsoid...same here, fix later gluSphere (q, 0.8, 3, 20); // a seed like shape? gluSphere (q, 0.8, 4, 20); // an ikea paper lamp? gluSphere (q, 0.8, 4, 2); // diamond gluSphere (q, 0.8, 3, 3); // triangular crystal gluSphere (q, 0.8, 6, 3); // quartz crystal
Definition at line 1327 of file gobj.h.
| gobjgluSphere::gobjgluSphere | ( | GLUquadricObj *& | qobj_, | |
| GLdouble | radius_, | |||
| GLint | slices_, | |||
| GLint | stacks_ | |||
| ) | [inline] |
| void gobjgluSphere::draw | ( | ) | [inline, virtual] |
| GLUquadricObj* & gobjgluSphere::qobj |
| GLdouble gobjgluSphere::radius |
| GLint gobjgluSphere::slices |
| GLint gobjgluSphere::stacks |
1.5.8