- Added floor, ceil and abs to reactive env
- Changed BasaltProgram env (not finished) - Fixed program not setting running to false once coroutine is dead
This commit is contained in:
@@ -14,7 +14,10 @@ local mathEnv = {
|
||||
end,
|
||||
round = function(val)
|
||||
return math.floor(val + 0.5)
|
||||
end
|
||||
end,
|
||||
floor = math.floor,
|
||||
ceil = math.ceil,
|
||||
abs = math.abs
|
||||
}
|
||||
|
||||
local function parseExpression(expr, element, propName)
|
||||
|
||||
Reference in New Issue
Block a user