Replaced redundant 'negate' operator with *= -1

This commit is contained in:
Anuken
2020-08-23 10:20:34 -04:00
parent 90b8910935
commit dac24e8bf1
2 changed files with 10 additions and 5 deletions
-1
View File
@@ -25,7 +25,6 @@ public enum LogicOp{
atan2("atan2", (x, y) -> Mathf.atan2((float)x, (float)y) * Mathf.radDeg),
dst("dst", (x, y) -> Mathf.dst((float)x, (float)y)),
negate("-", a -> -a),
not("not", a -> ~(int)(a)),
abs("abs", Math::abs),
log("log", Math::log),