Changeset 10008 for code/branches/turretFS14/src/modules/objects/Turret.cc
- Timestamp:
- Mar 27, 2014, 3:52:59 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/turretFS14/src/modules/objects/Turret.cc
r10004 r10008 78 78 currentPitch < lowerBoundary && value.x < 0) 79 79 { 80 return;80 //return; 81 81 } 82 82 83 //SpaceShip::rotatePitch(value);83 SpaceShip::rotatePitch(value); 84 84 } 85 85 … … 92 92 Radian upperBoundary = startYaw + limit; 93 93 Radian lowerBoundary = startYaw - limit; 94 orxout() << currentYaw << " " << this->getOrientation().getRoll() << endl;95 94 /*if(upperBoundary >= Radian(Degree(180))); 96 95 { … … 117 116 void Turret::rotateRoll(const Vector2& value) 118 117 { 119 return;118 SpaceShip::rotateRoll(value); 120 119 } 121 120 … … 137 136 void Turret::tick(float dt) 138 137 { 138 orxout() << "Pitch: " << this->getOrientation().getPitch() << "\tYaw: " << this->getOrientation().getYaw() << "\tRoll: " << this->getOrientation().getRoll() << endl; 139 139 if(!gotOrient_) 140 140 {
Note: See TracChangeset
for help on using the changeset viewer.