Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 15, 2008, 7:59:37 PM (17 years ago)
Author:
FelixSchulthess
Message:

trying to make it tickable

Location:
code/branches/hud3/src/orxonox/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud3/src/orxonox/objects/SpaceShip.cc

    r1292 r1295  
    437437    }
    438438
     439    Vector3 SpaceShip::getSPosition() {
     440        return SpaceShip::instance_s->getPosition();
     441    }
     442
     443    Quaternion SpaceShip::getSOrientation() {
     444        return SpaceShip::instance_s->getOrientation();
     445    }
     446
    439447    void SpaceShip::tick(float dt)
    440448    {
  • code/branches/hud3/src/orxonox/objects/SpaceShip.h

    r1292 r1295  
    3333#include <OgrePrerequisites.h>
    3434
     35#include "util/Math.h"
    3536#include "core/InputInterfaces.h"
    3637#include "Camera.h"
     
    6465            void getFocus();
    6566
     67            static Vector3 getSPosition();
     68            static Quaternion getSOrientation();
    6669            static std::string whereAmI();
    6770            static void setMaxSpeedTest(float value)
Note: See TracChangeset for help on using the changeset viewer.