Changeset 10412 in orxonox.OLD for trunk/src/util/track
- Timestamp:
- Jan 27, 2007, 7:48:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/track/track.cc
r10410 r10412 288 288 glRotatef (node->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 289 289 290 290 291 glBegin(GL_LINE_STRIP); 291 292 glColor3f(1.0, 1.0, 0.6); 292 293 294 Vector tmpVector; 293 295 for(float f = 0.0; f < 1.0; f+=dt) 294 296 { 295 297 //PRINTF(0)("drawing",this->calcPos().x, this->calcPos().y, this->calcPos().z); 296 VectortmpVector = this->curve->calcPos(f);298 tmpVector = this->curve->calcPos(f); 297 299 glVertex3f(tmpVector.x, tmpVector.y, tmpVector.z); 298 300 } 301 tmpVector.debug(); 299 302 glEnd(); 300 303
Note: See TracChangeset
for help on using the changeset viewer.