Add math.round and fix vector.round (#10803)

This commit is contained in:
Vincent Robinson
2021-04-01 15:18:58 -07:00
committed by GitHub
parent 1e4913cd76
commit 3560691c0a
4 changed files with 16 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ read_globals = {
string = {fields = {"split", "trim"}},
table = {fields = {"copy", "getn", "indexof", "insert_all"}},
math = {fields = {"hypot"}},
math = {fields = {"hypot", "round"}},
}
globals = {