Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6999 for code/branches


Ignore:
Timestamp:
May 27, 2010, 11:54:05 PM (14 years ago)
Author:
dafrick
Message:

Commented some unused variables in RocketController that generated compiler warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/modules/weapons/RocketController.cc

    r6951 r6999  
    101101        if (!this->getControllableEntity())
    102102            return;
    103         float dx = target.x-this->getControllableEntity()->getPosition().x;
    104         float dy = target.y-this->getControllableEntity()->getPosition().y;
     103        //float dx = target.x-this->getControllableEntity()->getPosition().x;
     104        //float dy = target.y-this->getControllableEntity()->getPosition().y;
    105105        COUT(4)<<"\n diff: ";
    106106        COUT(4)<<target-this->getControllableEntity()->getPosition() << endl;
     
    113113        COUT(0)<<"\n";*/
    114114        Vector2 coord = get2DViewdirection(this->getControllableEntity()->getPosition(), this->getControllableEntity()->getOrientation() * WorldEntity::FRONT, this->getControllableEntity()->getOrientation() * WorldEntity::UP, target);
    115         float distance = (target - this->getControllableEntity()->getPosition()).length();
     115        //float distance = (target - this->getControllableEntity()->getPosition()).length();
    116116        //Vector3D diff =target-this->rocket->getPosition();
    117117        COUT(4) << "viewdirection: "<< coord << endl;
Note: See TracChangeset for help on using the changeset viewer.