- Timestamp:
- Jan 27, 2007, 7:48:48 PM (18 years ago)
- Location:
- trunk/src
- Files:
-
- 2 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 -
trunk/src/world_entities/space_ships/space_ship.cc
r10384 r10412 490 490 void SpaceShip::draw () const 491 491 { 492 if( this->entityTrack != NULL) 493 this->entityTrack->drawGraph(); 494 492 495 WorldEntity::draw(); 493 496 … … 501 504 //glScalef(2.0, 2.0, 2.0); // no double rescale 502 505 // FIXME 506 507 503 508 this->trail->draw(); 504 509
Note: See TracChangeset
for help on using the changeset viewer.