MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / hmToDayTime

Method hmToDayTime

src/engine/GameClock.cpp:103–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103double GameClock::hmToDayTime(int hours, int minutes)
104{
105 return (hours + minutes / 60.0f) / 24.0f;
106}
107
108void GameClock::dayTimeTohm(double timeOfDay, int& hours, int& minutes)
109{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected