mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Clean up.
This commit is contained in:
parent
e834982b49
commit
71b3484062
@ -531,11 +531,10 @@ public class Skeleton {
|
||||
Slot slot = drawOrder.get(i);
|
||||
float[] vertices = null;
|
||||
Attachment attachment = slot.attachment;
|
||||
if (attachment instanceof RegionAttachment) {
|
||||
if (attachment instanceof RegionAttachment)
|
||||
vertices = ((RegionAttachment)attachment).updateWorldVertices(slot, false);
|
||||
} else if (attachment instanceof MeshAttachment) {
|
||||
else if (attachment instanceof MeshAttachment) //
|
||||
vertices = ((MeshAttachment)attachment).updateWorldVertices(slot, true);
|
||||
}
|
||||
if (vertices != null) {
|
||||
for (int ii = 0, nn = vertices.length; ii < nn; ii += 5) {
|
||||
float x = vertices[ii], y = vertices[ii + 1];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user