- Timestamp:
- Oct 21, 2008, 4:56:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/worldentities/MovableEntity.h
r1968 r1989 59 59 void setOrientation(const Quaternion& orientation); 60 60 void rotate(const Quaternion& rotation, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL); 61 void yaw(const Radian& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);62 void pitch(const Radian& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);63 void roll(const Radian& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL);61 void yaw(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL); 62 void pitch(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL); 63 void roll(const Degree& angle, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL); 64 64 void lookAt(const Vector3& target, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL, const Vector3& localDirectionVector = Vector3::NEGATIVE_UNIT_Z); 65 65 void setDirection(const Vector3& direction, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL, const Vector3& localDirectionVector = Vector3::NEGATIVE_UNIT_Z); … … 86 86 { return this->rotationAxis_; } 87 87 88 inline void setRotationRate(const Degree& angle) 89 { this->rotationRate_ = angle; } 88 90 inline void setRotationRate(const Radian& angle) 89 91 { this->rotationRate_ = angle; } 90 inline void setRotationRate(const Degree& angle) 91 { this->rotationRate_ = angle; } 92 inline const Radian& getRotationRate() const 92 inline const Degree& getRotationRate() const 93 93 { return this->rotationRate_; } 94 94 95 inline void setMomentum(const Degree& angle) 96 { this->momentum_ = angle; } 95 97 inline void setMomentum(const Radian& angle) 96 98 { this->momentum_ = angle; } 97 inline void setMomentum(const Degree& angle) 98 { this->momentum_ = angle; } 99 inline const Radian& getMomentum() const 99 inline const Degree& getMomentum() const 100 100 { return this->momentum_; } 101 101 … … 111 111 Vector3 acceleration_; 112 112 Vector3 rotationAxis_; 113 RadianrotationRate_;114 Radianmomentum_;113 Degree rotationRate_; 114 Degree momentum_; 115 115 116 116 Vector3 overwrite_position_;
Note: See TracChangeset
for help on using the changeset viewer.