Changeset 3319 in orxonox.OLD for orxonox/branches/parenting/src/world.cc
- Timestamp:
- Jan 3, 2005, 12:23:08 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/parenting/src/world.cc
r3311 r3319 153 153 case DEBUG_WORLD_0: 154 154 { 155 testCurve = new BezierCurve(); 156 testCurve->addNode(Vector(0,0,0)); 157 testCurve->addNode(Vector(5,7,0)); 158 testCurve->addNode(Vector(10,-5,0)); 159 testCurve->addNode(Vector(20, 0,10)); 160 testCurve->addNode(Vector(50, 7,-5)); 161 155 162 this->nullParent = NullParent::getInstance (); 156 163 this->nullParent->setName ("NullParent"); … … 438 445 glEnd(); 439 446 447 glBegin(GL_LINES); 448 for(float i=0.0; i<1; i+=.01) 449 { 450 glVertex3f(testCurve->calcPos(i).x, testCurve->calcPos(i).y, testCurve->calcPos(i).z); 451 } 452 glEnd(); 440 453 glEndList(); 441 454 }
Note: See TracChangeset
for help on using the changeset viewer.