Changeset 10834 for code/branches/campaignHS15/src/orxonox/controllers
- Timestamp:
- Nov 23, 2015, 1:24:51 PM (10 years ago)
- Location:
- code/branches/campaignHS15
- Files:
-
- 3 edited
- 10 copied
-
. (modified) (1 prop)
-
src/orxonox/controllers/CMakeLists.txt (modified) (1 diff)
-
src/orxonox/controllers/CommonController.cc (copied) (copied from code/branches/AI_HS15/src/orxonox/controllers/CommonController.cc)
-
src/orxonox/controllers/CommonController.h (copied) (copied from code/branches/AI_HS15/src/orxonox/controllers/CommonController.h)
-
src/orxonox/controllers/DivisionController.cc (copied) (copied from code/branches/AI_HS15/src/orxonox/controllers/DivisionController.cc)
-
src/orxonox/controllers/DivisionController.h (copied) (copied from code/branches/AI_HS15/src/orxonox/controllers/DivisionController.h)
-
src/orxonox/controllers/FormationController.cc (modified) (2 diffs)
-
src/orxonox/controllers/LeaderController.cc (copied) (copied from code/branches/AI_HS15/src/orxonox/controllers/LeaderController.cc)
-
src/orxonox/controllers/LeaderController.h (copied) (copied from code/branches/AI_HS15/src/orxonox/controllers/LeaderController.h)
-
src/orxonox/controllers/SectionController.cc (copied) (copied from code/branches/AI_HS15/src/orxonox/controllers/SectionController.cc)
-
src/orxonox/controllers/SectionController.h (copied) (copied from code/branches/AI_HS15/src/orxonox/controllers/SectionController.h)
-
src/orxonox/controllers/WingmanController.cc (copied) (copied from code/branches/AI_HS15/src/orxonox/controllers/WingmanController.cc)
-
src/orxonox/controllers/WingmanController.h (copied) (copied from code/branches/AI_HS15/src/orxonox/controllers/WingmanController.h)
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15
-
code/branches/campaignHS15/src/orxonox/controllers/CMakeLists.txt
r10216 r10834 11 11 FormationController.cc 12 12 ControllerDirector.cc 13 DivisionController.cc 14 LeaderController.cc 15 WingmanController.cc 16 SectionController.cc 17 CommonController.cc 13 18 ) -
code/branches/campaignHS15/src/orxonox/controllers/FormationController.cc
r10631 r10834 277 277 } 278 278 279 Vector2 coord = get2DView coordinates(this->getControllableEntity()->getPosition(), this->getControllableEntity()->getOrientation() * WorldEntity::FRONT, this->getControllableEntity()->getOrientation() * WorldEntity::UP, target);279 Vector2 coord = get2DViewCoordinates(this->getControllableEntity()->getPosition(), this->getControllableEntity()->getOrientation() * WorldEntity::FRONT, this->getControllableEntity()->getOrientation() * WorldEntity::UP, target); 280 280 float distance = (target - this->getControllableEntity()->getPosition()).length(); 281 281 float rotateX = clamp(coord.x * 10, -1.0f, 1.0f); … … 1069 1069 return; 1070 1070 1071 Vector2 coord = get2DView coordinates(this->getControllableEntity()->getPosition(), this->getControllableEntity()->getOrientation() * WorldEntity::FRONT, this->getControllableEntity()->getOrientation() * WorldEntity::UP, target);1071 Vector2 coord = get2DViewCoordinates(this->getControllableEntity()->getPosition(), this->getControllableEntity()->getOrientation() * WorldEntity::FRONT, this->getControllableEntity()->getOrientation() * WorldEntity::UP, target); 1072 1072 float distance = (target - this->getControllableEntity()->getPosition()).length(); 1073 1073
Note: See TracChangeset
for help on using the changeset viewer.










