Minetest  5.4.0
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(), ModApiEnvMod::l_get_natural_light(), and ModApiEnvMod::l_get_node_light().

+ Here is the caller graph for this function: