OpenMW
|
A class that acts as a model for the moons. More...
#include <weather.hpp>
Public Member Functions | |
MoonModel (const std::string &name, const Fallback::Map &fallback) | |
MWRender::MoonState | calculateState (const TimeStamp &gameTime) const |
Private Member Functions | |
float | angle (const TimeStamp &gameTime) const |
float | moonRiseHour (unsigned int daysPassed) const |
float | rotation (float hours) const |
unsigned int | phase (const TimeStamp &gameTime) const |
float | shadowBlend (float angle) const |
float | hourlyAlpha (float gameHour) const |
float | earlyMoonShadowAlpha (float angle) const |
Private Attributes | |
float | mFadeInStart |
float | mFadeInFinish |
float | mFadeOutStart |
float | mFadeOutFinish |
float | mAxisOffset |
float | mSpeed |
float | mDailyIncrement |
float | mFadeStartAngle |
float | mFadeEndAngle |
float | mMoonShadowEarlyFadeAngle |
A class that acts as a model for the moons.
MoonModel::MoonModel | ( | const std::string & | name, |
const Fallback::Map & | fallback | ||
) |
|
inlineprivate |
MWRender::MoonState MoonModel::calculateState | ( | const TimeStamp & | gameTime | ) | const |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |