]> git.lizzy.rs Git - luax.git/commitdiff
Add info about included functions and code origin
authorElias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com>
Fri, 31 Dec 2021 14:40:37 +0000 (15:40 +0100)
committerGitHub <noreply@github.com>
Fri, 31 Dec 2021 14:40:37 +0000 (15:40 +0100)
README.md

index a495b867c775d4c40a5be948aec8d3902ed8bf5d..dc5cff2719c3d7537ae5d0680d7dcc8b86d4abbd 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,2 +1,8 @@
 # luax
-Small additions to the lua standard library
+Small additions to the lua standard library, mostly stolen from https://github.com/minetest/minetest/blob/master/builtin/common/misc_helpers.lua
+
+## Included
+
+- `math.clamp(min, max, v)`
+- `string.split(str, delim, include_empty, max_splits, sep_is_pattern)`
+- `table.copy(t, seen)`