24 #ifndef _SkyX_BasicController_H_
25 #define _SkyX_BasicController_H_
35 class DllExport BasicController :
public Controller
42 BasicController(
const bool& deleteBySkyX =
true);
50 void update(
const Ogre::Real& simDeltaTime);
56 inline void setTime(
const Ogre::Vector3& t)
66 inline const Ogre::Vector3&
getTime()
const
Ogre::Vector3 mMoonDirection
Moon direction.
Definition: BasicController.h:131
Ogre::Vector2 mEastDirection
East direction (in X,Z world coords)
Definition: BasicController.h:134
Ogre::Vector3 getSunDirection()
Get sun direction.
Definition: BasicController.h:91
Ogre::Vector3 mTime
Time information: x = time in [0, 24]h range, y = sunrise hour in [0, 24]h range, z = sunset hour in ...
Definition: BasicController.h:125
void setTime(const Ogre::Vector3 &t)
Set time.
Definition: BasicController.h:56
const Ogre::Vector2 & getEastDirection() const
Get east direction.
Definition: BasicController.h:83
Ogre::Vector3 mSunDirection
Sun direction.
Definition: BasicController.h:128
void setEastDirection(const Ogre::Vector2 &ed)
Set eastn direction.
Definition: BasicController.h:74
Ogre::Real getMoonPhase()
Get moon phase.
Definition: BasicController.h:117
SkyX(Ogre::SceneManager *sm, Controller *c)
Contructor.
Ogre::Vector3 getMoonDirection()
Get moon direction.
Definition: BasicController.h:99
void setMoonPhase(const Ogre::Real &mp)
Set moon phase.
Definition: BasicController.h:108
const Ogre::Vector3 & getTime() const
Get time.
Definition: BasicController.h:66
Ogre::Real mMoonPhase
Moon phase.
Definition: BasicController.h:137
class __declspec(dllimport) BasicController void update(const Ogre::Real &simDeltaTime)
Basic controller class.
#define DllExport
Include external headers.
Definition: Prerequisites.h:45