Files Classes Functions Hierarchy
#include <d3tessdraw.h>
Public Member Functions | |
| writecpvoronoiobj (d3tess &tess_) | |
| void | draw () |
| Draw the object. | |
Definition at line 178 of file d3tessdraw.h.
| writecpvoronoiobj::writecpvoronoiobj | ( | d3tess & | tess_ | ) | [inline] |
| void writecpvoronoiobj::draw | ( | ) | [virtual] |
Draw the object.
Implements gobj.
Definition at line 320 of file d3tessdraw.cpp.
References virtualtriangle::clockwise(), and d3tess::vs.
00321 { 00322 00323 //gresPushAttribPopAttrib att1(GL_CURRENT_BIT); 00324 myglPushAttrib att1(GL_CURRENT_BIT); 00325 //gresPushAttribPopAttrib att2(GL_LIGHTING_BIT); 00326 myglPushAttrib att2(GL_LIGHTING_BIT); 00327 00328 glColor3ub(0,255,0); 00329 00330 glDisable(GL_LIGHTING); 00331 00332 //gresEnableDisable enabledisable(GL_LINE_STIPPLE); 00333 myglCapability cap1(GL_LINE_STIPPLE); 00334 00335 glLineStipple(1,0x00FF); 00336 00337 00338 //gresBeginEnd begend(GL_LINES); 00339 myglMode m1(GL_LINES); 00340 00341 onevertex(); 00342 tess.vs.clockwise(); 00343 onevertex(); 00344 tess.vs.clockwise(); 00345 onevertex(); 00346 tess.vs.clockwise(); 00347 00348 }
1.5.8