mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-10 19:32:10 +00:00
Use multiple light positions for CAO lighting
This commit is contained in:
parent
f89794108c
commit
3f0cbbc372
3 changed files with 26 additions and 18 deletions
|
@ -240,7 +240,10 @@ public:
|
|||
|
||||
void setNodeLight(u8 light);
|
||||
|
||||
v3s16 getLightPosition();
|
||||
/* Get light position(s).
|
||||
* returns number of positions written into pos[], which must have space
|
||||
* for at least 3 vectors. */
|
||||
u16 getLightPosition(v3s16 *pos);
|
||||
|
||||
void updateNametag();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue