Changeset 2543 for code/branches/presentation/src/orxonox
- Timestamp:
- Dec 28, 2008, 11:56:31 PM (16 years ago)
- Location:
- code/branches/presentation/src/orxonox/objects/worldentities/pawns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/worldentities/pawns/SpaceShip.cc
r2500 r2543 160 160 void SpaceShip::rotateYaw(const Vector2& value) 161 161 { 162 this->localAngularAcceleration_.setY(this->localAngularAcceleration_.y() +value.x);162 this->localAngularAcceleration_.setY(this->localAngularAcceleration_.y() - value.x); 163 163 164 164 Pawn::rotateYaw(value); -
code/branches/presentation/src/orxonox/objects/worldentities/pawns/Spectator.cc
r2493 r2543 177 177 void Spectator::rotateYaw(const Vector2& value) 178 178 { 179 this->yaw_ += value.y;179 this->yaw_ -= value.y; 180 180 181 181 ControllableEntity::rotateYaw(value);
Note: See TracChangeset
for help on using the changeset viewer.