mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-08 16:24:53 +08:00
[haxe] Fix MeshAttachment#updateRegion for the 270° case.
This commit is contained in:
parent
c960402c08
commit
d12431d72c
@ -103,6 +103,7 @@ class MeshAttachment extends VertexAttachment implements HasTextureRegion {
|
||||
while (i < n) {
|
||||
uvs[i] = u + (1 - regionUVs[i + 1]) * width;
|
||||
uvs[i + 1] = v + regionUVs[i] * height;
|
||||
i += 2;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user