mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34: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.
|
// 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 du = uvRect.width; // u2 - u;
|
||||||
float dv = uvRect.height; // v - v2;
|
float dv = uvRect.height; // v - v2;
|
||||||
float atlasAspectRatio = page.width / page.height;
|
float atlasAspectRatio = (float)page.width / (float)page.height;
|
||||||
u2 = u + (dv / atlasAspectRatio);
|
u2 = u + (dv / atlasAspectRatio);
|
||||||
v2 = v - (du * atlasAspectRatio);
|
v2 = v - (du * atlasAspectRatio);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"name": "com.esotericsoftware.spine.spine-unity",
|
"name": "com.esotericsoftware.spine.spine-unity",
|
||||||
"displayName": "spine-unity Runtime",
|
"displayName": "spine-unity Runtime",
|
||||||
"description": "This plugin provides the spine-unity runtime core.",
|
"description": "This plugin provides the spine-unity runtime core.",
|
||||||
"version": "4.2.49",
|
"version": "4.2.50",
|
||||||
"unity": "2018.3",
|
"unity": "2018.3",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Esoteric Software",
|
"name": "Esoteric Software",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user