mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Change Variable name.
This commit is contained in:
parent
ad3fa6ea0e
commit
52a4114d7a
@ -82,9 +82,9 @@ public class MeshAttachment extends Attachment {
|
|||||||
| (int)(skeletonColor.r * slotColor.r * meshColor.r * multiplier));
|
| (int)(skeletonColor.r * slotColor.r * meshColor.r * multiplier));
|
||||||
|
|
||||||
float[] worldVertices = this.worldVertices;
|
float[] worldVertices = this.worldVertices;
|
||||||
FloatArray verticesArray = slot.getAttachmentVertices();
|
FloatArray slotVertices = slot.getAttachmentVertices();
|
||||||
float[] vertices = this.vertices;
|
float[] vertices = this.vertices;
|
||||||
if (verticesArray.size == vertices.length) vertices = verticesArray.items;
|
if (slotVertices.size == vertices.length) vertices = slotVertices.items;
|
||||||
Bone bone = slot.getBone();
|
Bone bone = slot.getBone();
|
||||||
float x = skeleton.getX() + bone.getWorldX(), y = skeleton.getY() + bone.getWorldY();
|
float x = skeleton.getX() + bone.getWorldX(), y = skeleton.getY() + bone.getWorldY();
|
||||||
float m00 = bone.getM00(), m01 = bone.getM01(), m10 = bone.getM10(), m11 = bone.getM11();
|
float m00 = bone.getM00(), m01 = bone.getM01(), m10 = bone.getM10(), m11 = bone.getM11();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user