Changeset 1566 for code/trunk/src/orxonox/hud/RadarObject.cc
- Timestamp:
- Jun 8, 2008, 5:04:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/hud/RadarObject.cc
r1564 r1566 120 120 } 121 121 122 const Vector3& RadarObject::getVelocity() const122 Vector3 RadarObject::getOrientedVelocity() const 123 123 { 124 return this->object_->get Velocity();124 return this->object_->getOrientation() * this->object_->getVelocity(); 125 125 } 126 126 }
Note: See TracChangeset
for help on using the changeset viewer.