mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Remove unnecessary if.
This commit is contained in:
parent
0a7c47f2c4
commit
a6e5d95a36
@ -56,11 +56,7 @@ public class Bone {
|
|||||||
_m00 = -_m00;
|
_m00 = -_m00;
|
||||||
_m01 = -_m01;
|
_m01 = -_m01;
|
||||||
}
|
}
|
||||||
if (flipY) {
|
if (flipY != yDown) {
|
||||||
_m10 = -_m10;
|
|
||||||
_m11 = -_m11;
|
|
||||||
}
|
|
||||||
if (yDown) {
|
|
||||||
_m10 = -_m10;
|
_m10 = -_m10;
|
||||||
_m11 = -_m11;
|
_m11 = -_m11;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user