mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-17 20:41:38 +08:00
Merge branch 'origin/master'
This commit is contained in:
commit
0784725106
@ -84,11 +84,7 @@ void Bone_updateWorldTransform (Bone* self, int flipX, int flipY) {
|
||||
CONST_CAST(float, self->m00) = -self->m00;
|
||||
CONST_CAST(float, self->m01) = -self->m01;
|
||||
}
|
||||
if (flipY) {
|
||||
CONST_CAST(float, self->m10) = -self->m10;
|
||||
CONST_CAST(float, self->m11) = -self->m11;
|
||||
}
|
||||
if (yDown) {
|
||||
if (flipY != yDown) {
|
||||
CONST_CAST(float, self->m10) = -self->m10;
|
||||
CONST_CAST(float, self->m11) = -self->m11;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -60,11 +60,7 @@ spine.Bone.prototype = {
|
||||
this.m00 = -this.m00;
|
||||
this.m01 = -this.m01;
|
||||
}
|
||||
if (flipY) {
|
||||
this.m10 = -this.m10;
|
||||
this.m11 = -this.m11;
|
||||
}
|
||||
if (spine.Bone.yDown) {
|
||||
if (flipY != spine.Bone.yDown) {
|
||||
this.m10 = -this.m10;
|
||||
this.m11 = -this.m11;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user