Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10412 in orxonox.OLD for trunk/src/util


Ignore:
Timestamp:
Jan 27, 2007, 7:48:48 PM (18 years ago)
Author:
patrick
Message:

fixed the translation bug and space ship drawing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/track/track.cc

    r10410 r10412  
    288288    glRotatef (node->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    289289
     290
    290291      glBegin(GL_LINE_STRIP);
    291292        glColor3f(1.0, 1.0, 0.6);
    292293
     294        Vector tmpVector;
    293295        for(float f = 0.0; f < 1.0; f+=dt)
    294296          {
    295297            //PRINTF(0)("drawing",this->calcPos().x, this->calcPos().y, this->calcPos().z);
    296             Vector tmpVector = this->curve->calcPos(f);
     298            tmpVector = this->curve->calcPos(f);
    297299            glVertex3f(tmpVector.x, tmpVector.y, tmpVector.z);
    298300          }
     301          tmpVector.debug();
    299302      glEnd();
    300303
Note: See TracChangeset for help on using the changeset viewer.