diff options
author | MarkuBu <markus.burrer@gmail.com> | 2017-04-01 16:50:53 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-01 16:50:53 +0200 |
commit | 26f4a5c2d1e3d825816188fcd63f6d1f6758ae60 (patch) | |
tree | f7a0c054309e7ba547cac27d919a8c04b667f594 /doc | |
parent | ef56586ed32ca67bd0ae4bbd474f3eca2ce56ec5 (diff) | |
download | minetest-26f4a5c2d1e3d825816188fcd63f6d1f6758ae60.tar.gz minetest-26f4a5c2d1e3d825816188fcd63f6d1f6758ae60.tar.bz2 minetest-26f4a5c2d1e3d825816188fcd63f6d1f6758ae60.zip |
First commit for fine pointed (#5485)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/client_lua_api.md | 4 | ||||
-rw-r--r-- | doc/lua_api.txt | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md index deb5bfb13..c9ccbeefa 100644 --- a/doc/client_lua_api.md +++ b/doc/client_lua_api.md @@ -752,6 +752,8 @@ Call these functions only at load time! extra arguments and return the result * `fgettext(string, ...)` : returns string * same as fgettext_ne(), but calls minetest.formspec_escape before returning result +* `minetest.pointed_thing_to_face_pos(placer, pointed_thing)`: returns a position + * returns the exact position on the surface of a pointed node ### UI * `minetest.ui.minimap` @@ -827,7 +829,7 @@ The following functions provide escape sequences: * Removes background colors added by `get_background_escape_sequence`. * `color.strip_colors(str)` * Removes all color escape sequences. - + `ColorString` ------------- `#RGB` defines a color in hexadecimal format. diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 0ca3767f9..0d3f00c67 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1939,6 +1939,8 @@ Helper functions * returns time with microsecond precision. May not return wall time. * `table.copy(table)`: returns a table * returns a deep copy of `table` +* `minetest.pointed_thing_to_face_pos(placer, pointed_thing)`: returns a position + * returns the exact position on the surface of a pointed node `minetest` namespace reference ------------------------------ |