- Timestamp:
- Nov 30, 2008, 12:36:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/worldentities/LinearEntity.h
r2292 r2300 48 48 void registerVariables(); 49 49 50 inline void setVelocity(const Vector3& velocity);51 inline void setVelocity(float x, float y, float z)52 { this->velocity_.x = x; this->velocity_.y = y; this->velocity_.z = z; }53 inline const Vector3& getVelocity() const54 { return this->velocity_; }55 56 50 inline void setAcceleration(const Vector3& acceleration) 57 51 { this->acceleration_ = acceleration; } … … 92 86 void positionChanged(); 93 87 void orientationChanged(); 94 inline void internalSetVelocity(const Vector3& velocity)95 { this->velocity_ = velocity; }96 88 97 Vector3 velocity_;98 89 Vector3 acceleration_; 99 90 Vector3 rotationAxis_;
Note: See TracChangeset
for help on using the changeset viewer.