70 return (
float)(num - Math.Floor(num));
87 float num3 =
MathUtils.
Lerp(0.2f, 0.4f, 0.5f + 0.5f * MathF.Cos((
float)Math.PI * 2f * num2));
89 float num5 = (1f - (num3 + num4)) / 2f;
static float Remainder(float x, float y)
static float Lerp(float x1, float x2, float f)
static float Interval(float t1, float t2)
static float Midpoint(float t1, float t2, float factor=0.5f)
static float Add(float t, float interval)
double CalculateDay(double totalElapsedGameTime)
SubsystemSeasons m_subsystemSeasons
override void Save(ValuesDictionary valuesDictionary)
override void Load(ValuesDictionary valuesDictionary)
SubsystemGameInfo m_subsystemGameInfo
virtual void UpdateStarts()
float CalculateTimeOfDay(double totalElapsedGameTime)
ValuesDictionary ValuesDictionary