Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 25, 2006, 5:24:34 PM (18 years ago)
Author:
bknecht
Message:

Control: minor changes on helicopter crosshair

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/spaceshipcontrol/src/world_entities/weapons/turret.cc

    r6671 r6722  
    116116void Turret::tick(float dt)
    117117{
    118 /*
     118
    119119  Quaternion quat;
    120   Vector direction = this->getAbsCoor();/*this->getWeaponManager()->getFixedTarget()->getAbsCoor() - this->getAbsCoor();
     120  Vector direction = this->getAbsCoor();/*this->getWeaponManager()->getFixedTarget()->getAbsCoor() - this->getAbsCoor();*/
    121121
    122122  direction.normalize();
     
    127127    quat = Quaternion(direction, Vector(0,1,0)) * Quaternion ( -M_PI_2, Vector(0,1,0)) ;
    128128
    129   this->setAbsDirSoft(quat, 5);*/
     129  this->setAbsDirSoft(quat, 5);
    130130}
    131131
Note: See TracChangeset for help on using the changeset viewer.