Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
light.h File Reference
#include <cassert>
#include "config.h"
#include "irrlichttypes.h"
+ Include dependency graph for light.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LIGHT_MAX   14
 
#define LIGHT_SUN   15
 

Functions

u8 blend_light (u32 daylight_factor, u8 lightday, u8 lightnight)
 

Macro Definition Documentation

◆ LIGHT_MAX

◆ LIGHT_SUN

Function Documentation

◆ blend_light()

u8 blend_light ( u32 daylight_factor,
u8 lightday,
u8 lightnight )
inline

References LIGHT_SUN.

Referenced by MapNode::getLightBlend(), and Particle::updateLight().

+ Here is the caller graph for this function: