Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 26, 2007, 2:10:37 PM (18 years ago)
Author:
nicolasc
Message:

bump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/util/track/track.cc

    r10640 r10641  
    255255       {
    256256           Vector tmp = this->calcPos();
    257    
    258    
     257
     258
    259259           Vector dV = tmp - this->trackNode->getAbsCoor();
    260260           float dx = speed * dt;
    261261           float ratio = dx / dV.len();
    262    
     262
    263263           if( dt > 0.0f)
    264264           {
     
    267267           }
    268268           tmp = this->calcPos();
    269    
     269
    270270           Vector v(0.0, 1.0, 0.0);
    271271           Quaternion quat = Quaternion(this->calcDir(), v);
    272272           Quaternion q(-PI/2, v);
    273273           quat = quat * q;
    274    
     274
    275275           // move trackNode of the track
    276276           this->trackNode->shiftCoor(tmp - this->trackNode->getAbsCoor());
Note: See TracChangeset for help on using the changeset viewer.