projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use multiple light positions for CAO lighting
[oweals/minetest.git]
/
src
/
client
/
content_cao.h
diff --git
a/src/client/content_cao.h
b/src/client/content_cao.h
index 7693dd3d248305e65113be836168b47ed8f16628..699148c52306416eaaa4ea318db4e04678afb888 100644
(file)
--- 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();