Formatting

This commit is contained in:
Mario Zechner 2022-10-28 10:41:13 +02:00
parent 42bce02619
commit a57f1b85b6
3 changed files with 29 additions and 29 deletions

View File

@ -123,7 +123,7 @@ namespace spine {
uvs = &regionAttachment->getUVs();
indices = &quadIndices;
indicesCount = 6;
texture = (Texture *) ((AtlasRegion*)regionAttachment->getRegion())->page->texture;
texture = (Texture *) ((AtlasRegion *) regionAttachment->getRegion())->page->texture;
} else if (attachment->getRTTI().isExactly(MeshAttachment::rtti)) {
MeshAttachment *mesh = (MeshAttachment *) attachment;
@ -140,7 +140,7 @@ namespace spine {
uvs = &mesh->getUVs();
indices = &mesh->getTriangles();
indicesCount = mesh->getTriangles().size();
texture = (Texture *) ((AtlasRegion*)mesh->getRegion())->page->texture;
texture = (Texture *) ((AtlasRegion *) mesh->getRegion())->page->texture;
} else if (attachment->getRTTI().isExactly(ClippingAttachment::rtti)) {
ClippingAttachment *clip = (ClippingAttachment *) slot.getAttachment();