mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
Formatting
This commit is contained in:
parent
5aa8cd43ff
commit
a71dfd63e9
@ -208,7 +208,7 @@ public class SkeletonRenderer {
|
|||||||
// Post-process UVs, require scaling by bitmap size
|
// Post-process UVs, require scaling by bitmap size
|
||||||
float[] uvsArray = command.uvs.items;
|
float[] uvsArray = command.uvs.items;
|
||||||
for (int ii = vertexStart, w = command.texture.getWidth(), h = command.texture.getHeight(),
|
for (int ii = vertexStart, w = command.texture.getWidth(), h = command.texture.getHeight(),
|
||||||
nn = vertexStart + verticesLength; ii < nn; ii += 2) {
|
nn = vertexStart + verticesLength; ii < nn; ii += 2) {
|
||||||
uvsArray[ii] = uvsArray[ii] * w;
|
uvsArray[ii] = uvsArray[ii] * w;
|
||||||
uvsArray[ii + 1] = uvsArray[ii + 1] * h;
|
uvsArray[ii + 1] = uvsArray[ii + 1] * h;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -459,7 +459,7 @@ public class SkeletonClipping {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Only returns a non-empty array if clipTrianglesUnpacked() was used **/
|
/** Only returns a non-empty array if clipTrianglesUnpacked() was used **/
|
||||||
public FloatArray getClippedUvs() {
|
public FloatArray getClippedUvs () {
|
||||||
return clippedUvs;
|
return clippedUvs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user