Changeset 1616 for code/branches/hud/src/orxonox/RadarViewable.cc
- Timestamp:
- Jun 22, 2008, 12:30:06 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/RadarViewable.cc
r1614 r1616 30 30 #include "RadarViewable.h" 31 31 #include "core/Debug.h" 32 #include "core/CoreIncludes.h" 33 #include "objects/WorldEntity.h" 32 34 #include "Radar.h" 33 35 … … 57 59 this->radarObjectDescription_ = str; 58 60 } 61 62 const Vector3& RadarViewable::getWorldPosition() const 63 { 64 validate(); 65 return this->radarObject_->getWorldPosition(); 66 } 67 68 Vector3 RadarViewable::getOrientedVelocity() const 69 { 70 validate(); 71 return this->radarObject_->getOrientation() * this->radarObject_->getVelocity(); 72 } 59 73 }
Note: See TracChangeset
for help on using the changeset viewer.