Luanti 5.19.0-dev
Loading...
Searching...
No Matches
daynightratio.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

u32 time_to_daynight_ratio (float time_of_day, bool smooth)

Function Documentation

◆ time_to_daynight_ratio()

u32 time_to_daynight_ratio ( float time_of_day,
bool smooth )
inline

References time_to_daynight_ratio().

Referenced by Environment::getDayNightRatio(), ModApiEnv::l_get_natural_light(), ModApiEnv::l_get_node_light(), ModApiUtil::l_time_to_day_night_ratio(), and time_to_daynight_ratio().

Here is the call graph for this function:
Here is the caller graph for this function: