mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 13:31:45 -08:00
Sign logic op
This commit is contained in:
parent
d51e350d75
commit
9730bbd58d
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ public enum LogicOp{
|
|||
len("len", true, (x, y) -> Mathf.dst((float)x, (float)y)),
|
||||
noise("noise", true, (x, y) -> Simplex.raw2d(0, x, y)),
|
||||
abs("abs", a -> Math.abs(a)), //not a method reference because it fails to compile for some reason
|
||||
sign("sign", Math::signum),
|
||||
log("log", Math::log),
|
||||
log10("log10", Math::log10),
|
||||
floor("floor", Math::floor),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue