Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10002 in orxonox.OLD


Ignore:
Timestamp:
Dec 3, 2006, 8:04:38 PM (17 years ago)
Author:
nicolasc
Message:

minor cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/projectiles/hbolt.cc

    r10001 r10002  
    4646
    4747  this->angle = 0;
    48   this->rotationSpeed = .3;
     48  this->rotationSpeed = 3;
    4949  this->axis = Vector (0, 0, -1);
    5050
     
    137137
    138138  //float w = this->rotationSpeed * M_PI;
    139   Quaternion rotation(this->rotationSpeed * dt, this->axis);
    140   Quaternion u = this->getRelDir();
    141   this->setRelDir(u * rotation);
     139  //Quaternion rotation(this->rotationSpeed * dt, this->axis);
     140  //Quaternion u = this->getRelDir();
     141  //this->setRelDir(u * rotation);
    142142
    143143  this->updateAngle(dt);
Note: See TracChangeset for help on using the changeset viewer.