mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
fix abs function is not available in VCA expressions
This commit is contained in:
parent
16935fb5b9
commit
f5de330f3f
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ local env = {
|
|||
|
||||
local math_funcs = {
|
||||
"sqrt", "min", "max", "deg", "rad", "log", "log10", "floor", "ceil", "sin",
|
||||
"cos", "tan", "noise", "noise2", "sign", "round", "exp", "pi", "e"
|
||||
"cos", "tan", "abs", "noise", "noise2", "sign", "round", "exp", "pi", "e"
|
||||
}
|
||||
for _, name in ipairs(math_funcs) do
|
||||
env[name] = math[name]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue