aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorLars Müller <34514239+appgurueu@users.noreply.github.com>2022-05-04 13:44:14 +0200
committerGitHub <noreply@github.com>2022-05-04 07:44:14 -0400
commitae7664597ed15f9ac779a9bac0595ab4125457c4 (patch)
tree2aa79c278f6ceeccbd941b5ec60357720c1141ca /doc/lua_api.txt
parente9e671078c8ddfcaac30e8f04976a8c69031a9b9 (diff)
downloadhax-minetest-server-ae7664597ed15f9ac779a9bac0595ab4125457c4.tar.gz
hax-minetest-server-ae7664597ed15f9ac779a9bac0595ab4125457c4.zip
Add vector.combine (#11920)
Diffstat (limited to '')
-rw-r--r--doc/lua_api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 339ce8a27..e95c5ced8 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3409,6 +3409,9 @@ vectors are written like this: `(x, y, z)`:
* `vector.apply(v, func)`:
* Returns a vector where the function `func` has been applied to each
component.
+* `vector.combine(v, w, func)`:
+ * Returns a vector where the function `func` has combined both components of `v` and `w`
+ for each component
* `vector.equals(v1, v2)`:
* Returns a boolean, `true` if the vectors are identical.
* `vector.sort(v1, v2)`: