Luanti 5.11.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

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

+ Here is the caller graph for this function: