mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[ts] Correct order of UV assignements in RegionAttachment.updateRegion()
This commit is contained in:
parent
dc978ed05d
commit
ba5f89f361
@ -131,14 +131,14 @@ export class RegionAttachment extends Attachment implements HasTextureRegion {
|
||||
offset[7] = localYCos + localX2Sin;
|
||||
|
||||
if (region.degrees == 90) {
|
||||
uvs[0] = region.u2;
|
||||
uvs[1] = region.v2;
|
||||
uvs[2] = region.u;
|
||||
uvs[3] = region.v2;
|
||||
uvs[4] = region.u;
|
||||
uvs[5] = region.v;
|
||||
uvs[6] = region.u2;
|
||||
uvs[7] = region.v;
|
||||
uvs[0] = region.u2;
|
||||
uvs[1] = region.v2;
|
||||
} else {
|
||||
uvs[0] = region.u;
|
||||
uvs[1] = region.v2;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user