diff --git a/res/modules/internal/animation_codegen.lua b/res/modules/internal/animation_codegen.lua index 7eadfb4e6..66db0bed4 100644 --- a/res/modules/internal/animation_codegen.lua +++ b/res/modules/internal/animation_codegen.lua @@ -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]