|
|
|
@ -27,11 +27,11 @@ condition_ops = { |
|
|
|
">=": "greaterThanEq" |
|
|
|
} |
|
|
|
#TODO remove negate b/c its deprecated |
|
|
|
unary_ops = {"-": "negate", "~": "not"} |
|
|
|
unary_ops = {"~": "not"} |
|
|
|
|
|
|
|
binary_op_inverses = {"==": "!=", "!=": "==", "<": ">=", "<=": ">", ">": "<=", ">=": "<"} |
|
|
|
|
|
|
|
func_binary_ops = ["pow", "max", "min", "atan2", "dst"] |
|
|
|
func_binary_ops = ["pow", "max", "min", "angle", "len", "land", "idiv", "strictEqual", "noise"] |
|
|
|
func_unary_ops = ["abs", "log", "log10", "sin", "cos", "tan", "floor", "ceil", "sqrt", "rand"] |
|
|
|
binary_ops.update(dict(zip(func_binary_ops, func_binary_ops))) |
|
|
|
unary_ops.update(dict(zip(func_unary_ops, func_unary_ops))) |
|
|
|
|