Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 22, 2008, 12:30:06 AM (16 years ago)
Author:
rgrieder
Message:
  • precompiled header files have disadvantages too…
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/RadarViewable.cc

    r1614 r1616  
    3030#include "RadarViewable.h"
    3131#include "core/Debug.h"
     32#include "core/CoreIncludes.h"
     33#include "objects/WorldEntity.h"
    3234#include "Radar.h"
    3335
     
    5759        this->radarObjectDescription_ = str;
    5860    }
     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    }
    5973}
Note: See TracChangeset for help on using the changeset viewer.