#include <GLLine3D.H>
Inherits InSpace::DrawObj.
Public Member Functions | |
GLLine3D (Wpt_list pl, Color c=Color::yellow) | |
GLLine3D (Wpt_list pl, ARRAY< Color > colorList) | |
virtual | ~GLLine3D () |
void | setPoint (int n, Wpt value) |
void | draw () |
Protected Attributes | |
Wpt_list | _points |
ARRAY< Color > | _colors |
float | _lineWidth |
float | _shininess |
Color | _specular |
Color | _emission |
|
|
|
|
|
|
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|