mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Fix mesh bounds on SkeletonGraphic.
This commit is contained in:
parent
4df97a8d06
commit
0199570a27
@ -96,7 +96,7 @@ namespace Spine.Unity.MeshGeneration {
|
|||||||
|
|
||||||
// Apply scale to vertices
|
// Apply scale to vertices
|
||||||
meshBoundsMax.x *= scale; meshBoundsMax.y *= scale;
|
meshBoundsMax.x *= scale; meshBoundsMax.y *= scale;
|
||||||
meshBoundsMin.x *= scale; meshBoundsMax.y *= scale;
|
meshBoundsMin.x *= scale; meshBoundsMin.y *= scale;
|
||||||
var vertices = this.meshVertices;
|
var vertices = this.meshVertices;
|
||||||
for (int i = 0; i < totalVertexCount; i++) {
|
for (int i = 0; i < totalVertexCount; i++) {
|
||||||
Vector3 p = vertices[i];
|
Vector3 p = vertices[i];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user