- Timestamp:
- May 3, 2008, 9:09:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/orxonox/objects/WorldEntity.h
r1056 r1228 155 155 156 156 inline void setRotationAxisLoader(const Vector3& axis) 157 { this->rotationAxis_ = axis; }157 { this->rotationAxis_ = axis; rotationAxis_.normalise(); } 158 158 inline void setRotationAxis(const Vector3& axis) 159 { this->rotationAxis_ = axis; }159 { this->rotationAxis_ = axis; rotationAxis_.normalise(); } 160 160 inline void setRotationAxis(Real x, Real y, Real z) 161 { this->rotationAxis_.x = x; this->rotationAxis_.y = y; this->rotationAxis_.z = z; }161 { this->rotationAxis_.x = x; this->rotationAxis_.y = y; this->rotationAxis_.z = z; rotationAxis_.normalise(); } 162 162 inline const Vector3& getRotationAxis() const 163 163 { return this->rotationAxis_; }
Note: See TracChangeset
for help on using the changeset viewer.