Use multiple light positions for CAO lighting
[oweals/minetest.git] / src / client / content_cao.h
index 7693dd3d248305e65113be836168b47ed8f16628..699148c52306416eaaa4ea318db4e04678afb888 100644 (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();