mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
Merge pull request #96 from nikibobi/patch-1
Combined two similar ifs to one with xor
This commit is contained in:
commit
7a793b4977
@ -87,11 +87,7 @@ namespace Spine {
|
||||
M00 = -M00;
|
||||
M01 = -M01;
|
||||
}
|
||||
if (flipY) {
|
||||
M10 = -M10;
|
||||
M11 = -M11;
|
||||
}
|
||||
if (yDown) {
|
||||
if (flipY ^ yDown) {
|
||||
M10 = -M10;
|
||||
M11 = -M11;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user