- Timestamp:
- May 26, 2011, 12:04:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bigships/src/orxonox/worldentities/MobileEntity.h
r8426 r8588 70 70 { return this->linearAcceleration_; } 71 71 72 73 74 75 76 72 // Added for making N engines work with spaceships 73 void addAcceleration(const Vector3& acceleration, const Vector3 &relativePosition); 74 inline void addAcceleration(float x, float y, float z) 75 { this->addAcceleration(Vector3(x, y, z), Vector3(0,0,0)); } 76 // Getter function above 77 77 78 78 void setAngularAcceleration(const Vector3& acceleration);
Note: See TracChangeset
for help on using the changeset viewer.