Changeset 3321 in orxonox.OLD for orxonox/branches/parenting/src/world.cc
- Timestamp:
- Jan 3, 2005, 12:25:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/parenting/src/world.cc
r3319 r3321 159 159 testCurve->addNode(Vector(20, 0,10)); 160 160 testCurve->addNode(Vector(50, 7,-5)); 161 testCurve->addNode(Vector(60, -20,0)); 162 testCurve->addNode(Vector(60, 10,0)); 161 163 162 164 this->nullParent = NullParent::getInstance (); … … 448 450 for(float i=0.0; i<1; i+=.01) 449 451 { 452 printf("%f %f %f\n",testCurve->calcDir(i).x,testCurve->calcDir(i).y,testCurve->calcDir(i).z); 450 453 glVertex3f(testCurve->calcPos(i).x, testCurve->calcPos(i).y, testCurve->calcPos(i).z); 454 glVertex3f(testCurve->calcPos(i).x+testCurve->calcDir(i).x, testCurve->calcPos(i).y+testCurve->calcDir(i).y, testCurve->calcPos(i).z+testCurve->calcDir(i).z); 451 455 } 452 456 glEnd();
Note: See TracChangeset
for help on using the changeset viewer.