diff options
author | sfan5 <sfan5@live.de> | 2020-06-07 19:58:09 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-06-11 21:13:26 +0200 |
commit | 3f0cbbc372d5f359af18f5cbad37a1b165d3df4e (patch) | |
tree | 89bcba844f363ea4e1593fd72949b11ee0e6283d /src/client/content_cao.h | |
parent | f89794108c49a7a9e992afb9431ae244e4a4fef1 (diff) | |
download | hax-minetest-server-3f0cbbc372d5f359af18f5cbad37a1b165d3df4e.tar.gz hax-minetest-server-3f0cbbc372d5f359af18f5cbad37a1b165d3df4e.zip |
Use multiple light positions for CAO lighting
Diffstat (limited to '')
-rw-r--r-- | src/client/content_cao.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/content_cao.h b/src/client/content_cao.h index 7693dd3d2..699148c52 100644 --- a/src/client/content_cao.h +++ b/src/client/content_cao.h @@ -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(); |