|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
24 #ifndef _SkyX_BasicController_H_
25 #define _SkyX_BasicController_H_
47 void update(
const Ogre::Real& simDeltaTime);
52 inline void setTime(
const Ogre::Vector3& t)
61 inline const Ogre::Vector3&
getTime()
const
Ogre::Vector3 mTime
Time information: x = time in [0, 24]h range, y = sunrise hour in [0, 24]h range, z = sunset hour in ...
void setMoonPhase(const Ogre::Real &mp)
Set moon phase.
Ogre::Vector3 getMoonDirection()
Get moon direction.
void setTime(const Ogre::Vector3 &t)
Set time.
BasicController(const bool &deleteBySkyX=true)
Constructor.
const Ogre::Vector3 & getTime() const
Get time.
Ogre::Vector2 mEastDirection
East direction (in X,Z world coords)
Ogre::Vector3 mMoonDirection
Moon direction.
const Ogre::Vector2 & getEastDirection() const
Get east direction.
void setEastDirection(const Ogre::Vector2 &ed)
Set eastn direction.
void update(const Ogre::Real &simDeltaTime)
Update controller.
Ogre::Vector3 mSunDirection
Sun direction.
Ogre::Real mMoonPhase
Moon phase.
Ogre::Real getMoonPhase()
Get moon phase.
Ogre::Vector3 getSunDirection()
Get sun direction.