#include <WorldRotAxisInt.H>
Inherits InSpace::DrawObj.
Public Member Functions | |
WorldRotAxisDrawObj () | |
virtual | ~WorldRotAxisDrawObj () |
void | contextInit () |
void | draw () |
void | setEndPoints (const Wpt &pos0, const Wpt &pos1) |
Protected Attributes | |
isGlContextData< GLuint > | _nSphere |
Wpt | _pos0 |
Wpt | _pos1 |
float | _afMatAmbient [4] |
float | _afMatDiffuse [4] |
float | _afMatSpecular [4] |
float | _afMatShininess [1] |
|
|
|
|
|
Implement this to do any GL specific initialization that you need to within your object. Called once per GL context. Reimplemented from InSpace::DrawObj. |
|
This is the most important function to implement in your subclass. Use GL calls inside this to draw something. This object's xform() has already been pushed onto the MODELVIEW stack when this gets called. If using inspace with G3D, use drawG3D() as a replacement for this function. Reimplemented from InSpace::DrawObj. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|