mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: cos function is not available in VCA expressions
This commit is contained in:
parent
38e8366afa
commit
5310de45f0
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",
|
||||
"tan", "noise", "noise2", "sign", "round", "exp", "pi", "e"
|
||||
"cos", "tan", "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