- Timestamp:
- Mar 12, 2009, 11:12:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutorial/src/orxonox/objects/worldentities/Drone.h
r2766 r2775 45 45 virtual void tick(float dt); 46 46 47 47 48 48 virtual void moveFrontBack(const Vector2& value); 49 49 virtual void moveRightLeft(const Vector2& value); … … 53 53 virtual void rotatePitch(const Vector2& value); 54 54 virtual void rotateRoll(const Vector2& value); 55 56 55 56 57 57 inline void moveFrontBack(float value) 58 58 { this->moveFrontBack(Vector2(value, 0)); } … … 61 61 inline void moveUpDown(float value) 62 62 { this->moveUpDown(Vector2(value, 0)); } 63 63 64 64 inline void rotateYaw(float value) 65 65 { this->rotateYaw(Vector2(value, 0)); } … … 68 68 inline void rotateRoll(float value) 69 69 { this->rotateRoll(Vector2(value, 0)); } 70 70 71 71 private: 72 DroneController *myController_;73 72 DroneController* myController_; 73 74 74 Vector3 steering_; 75 75 btVector3 localLinearAcceleration_;
Note: See TracChangeset
for help on using the changeset viewer.