Changeset 2438 for code/branches/objecthierarchy2/src/orxonox/overlays/hud
- Timestamp:
- Dec 14, 2008, 3:53:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/overlays/hud/HUDNavigation.cc
r2361 r2438 151 151 */ 152 152 // transform to screen coordinates 153 Vector3 pos = /*transformationMatrix * */Radar::getInstance().getFocus()->get WorldPosition();153 Vector3 pos = /*transformationMatrix * */Radar::getInstance().getFocus()->getRVWorldPosition(); 154 154 155 155 bool outOfView; … … 225 225 /* 226 226 Vector3 aimpos = transformationMatrix * getPredictedPosition(SpaceShip::getLocalShip()->getPosition(), 227 Projectile::getSpeed(), Radar::getInstance().getFocus()->get WorldPosition(), Radar::getInstance().getFocus()->getOrientedVelocity());227 Projectile::getSpeed(), Radar::getInstance().getFocus()->getRVWorldPosition(), Radar::getInstance().getFocus()->getRVOrientedVelocity()); 228 228 */ 229 229 if (wasOutOfView_) … … 252 252 /* 253 253 if (Radar::getInstance().getFocus()) 254 return (Radar::getInstance().getFocus()->get WorldPosition() - SpaceShip::getLocalShip()->getPosition()).length();254 return (Radar::getInstance().getFocus()->getRVWorldPosition() - SpaceShip::getLocalShip()->getPosition()).length(); 255 255 else 256 256 */
Note: See TracChangeset
for help on using the changeset viewer.