[Orxonox-commit 1426] r6144 - code/branches/presentation2/src/orxonox/controllers
wirthmi at orxonox.net
wirthmi at orxonox.net
Wed Nov 25 13:52:15 CET 2009
Author: wirthmi
Date: 2009-11-25 13:52:15 +0100 (Wed, 25 Nov 2009)
New Revision: 6144
Modified:
code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc
Log:
New input mode
Modified: code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc
===================================================================
--- code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc 2009-11-25 12:42:38 UTC (rev 6143)
+++ code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc 2009-11-25 12:52:15 UTC (rev 6144)
@@ -137,8 +137,8 @@
if (firemode == 1 && this->controlMode_ == 1) {
//unlocked steering, steer on right mouse click
- //HumanController::yaw(new Vector2(this->currentYaw_, 0));
- //HumanController::pitch(new Vector2(this->currentPitch_, 0));
+ HumanController::yaw(Vector2(this->currentYaw_, 0));
+ HumanController::pitch(Vector2(this->currentPitch_, 0));
}
else {
if( !NewHumanController::localController_s->getControllableEntity()->isInMouseLook() )
@@ -244,8 +244,6 @@
if (this->controlMode_ == 0)
HumanController::pitch(value);
-std::cout << value << endl;
-
this->currentPitch_ = value.x;
}
More information about the Orxonox-commit
mailing list