mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
Merge branch '4.1' into 4.2-beta
This commit is contained in:
commit
c64096ccad
@ -782,7 +782,7 @@ namespace Spine.Unity.AttachmentTools {
|
||||
// at a 270 degree region, u2/v2 deltas and atlas width/height are swapped, and delta-v is negative.
|
||||
float du = uvRect.width; // u2 - u;
|
||||
float dv = uvRect.height; // v - v2;
|
||||
float atlasAspectRatio = page.width / page.height;
|
||||
float atlasAspectRatio = (float)page.width / (float)page.height;
|
||||
u2 = u + (dv / atlasAspectRatio);
|
||||
v2 = v - (du * atlasAspectRatio);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "com.esotericsoftware.spine.spine-unity",
|
||||
"displayName": "spine-unity Runtime",
|
||||
"description": "This plugin provides the spine-unity runtime core.",
|
||||
"version": "4.2.49",
|
||||
"version": "4.2.50",
|
||||
"unity": "2018.3",
|
||||
"author": {
|
||||
"name": "Esoteric Software",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user