1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-20 11:35:21 +02:00

Use multiple light positions for CAO lighting

This commit is contained in:
sfan5
2020-06-07 19:58:09 +02:00
parent f89794108c
commit 3f0cbbc372
3 changed files with 26 additions and 18 deletions

View File

@@ -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();