mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
Scale mesh vertices!
This commit is contained in:
parent
b4698dd7ff
commit
b316b8d3e1
@ -220,7 +220,7 @@ namespace Spine {
|
|||||||
|
|
||||||
float[] uvs = GetFloatArray(map, "uvs", 1);
|
float[] uvs = GetFloatArray(map, "uvs", 1);
|
||||||
int[] triangles = GetIntArray(map, "triangles");
|
int[] triangles = GetIntArray(map, "triangles");
|
||||||
float[] vertices = GetFloatArray(map, "vertices", 1);
|
float[] vertices = GetFloatArray(map, "vertices", Scale);
|
||||||
mesh.SetMesh(vertices, triangles, uvs);
|
mesh.SetMesh(vertices, triangles, uvs);
|
||||||
|
|
||||||
if (map.ContainsKey("color")) {
|
if (map.ContainsKey("color")) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user