Changeset 1616 for code/branches/hud/src/orxonox/RadarViewable.h
- Timestamp:
- Jun 22, 2008, 12:30:06 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/RadarViewable.h
r1614 r1616 32 32 #include "OrxonoxPrereqs.h" 33 33 #include <string> 34 #include "util/Math.h" 35 #include "core/Debug.h" 34 36 #include "core/OrxonoxClass.h" 35 #include "util/Math.h"36 37 37 38 namespace orxonox … … 64 65 65 66 const WorldEntity* getWorldEntity() const { return this->radarObject_; } 66 const Vector3& getWorldPosition() const { validate(); return this->radarObject_->getWorldPosition(); } 67 Vector3 getOrientedVelocity() const 68 { validate(); return this->radarObject_->getOrientation() * this->radarObject_->getVelocity(); } 67 const Vector3& getWorldPosition() const; 68 Vector3 getOrientedVelocity() const; 69 69 70 70 Shape getRadarObjectType() const { return this->radarObjectType_; }
Note: See TracChangeset
for help on using the changeset viewer.