Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10643 in orxonox.OLD for trunk/src/world_entities/environments


Ignore:
Timestamp:
Apr 29, 2007, 6:51:28 PM (18 years ago)
Author:
bknecht
Message:

improvements by landauf on bsp, rotor and wireframe (does build, should work)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/environments/rotor.cc

    r10554 r10643  
    5656void Rotor::initRotation(float x, float y, float z)
    5757{
     58     this->updateNode(0.001);
    5859     this->mainDir = this->getAbsDir();
    5960     this->rotation = Vector(x,y,z);
     
    7172
    7273
    73      this->setAbsDir(/*this->mainDir**/Quaternion(rotation.x*this->totalTime, Vector(1,0,0)) *
     74     this->setAbsDir(this->mainDir*Quaternion(rotation.x*this->totalTime, Vector(1,0,0)) *
    7475                    Quaternion(rotation.y*this->totalTime, Vector(0,1,0)) *
    7576                    Quaternion(rotation.z*this->totalTime, Vector(0,0,1)));
Note: See TracChangeset for help on using the changeset viewer.