Reputation: 17
Is there a way to get the current location of a GLUquadricObj object? I've tried things like obj->getX() and such. Does anyone know how to do this?
Upvotes: 0
Views: 362
Reputation: 162164
Is there a way to get the current location of a GLUquadricObj object?
No. Because there are no GLU objects in a "scene". OpenGL is not a scene graph; there are no models in OpenGL. OpenGL draws things, namely points, lines and triangles. After something has been drawn the only thing that stays are the pixels in the framebuffer.
Upvotes: 1