|
@@ -908,7 +908,6 @@ public class Animation {
|
|
|
|
|
|
if (alpha == 1) {
|
|
|
// Vertex positions or deform offsets, no alpha.
|
|
|
- System.out.println(1);
|
|
|
for (int i = 0; i < vertexCount; i++) {
|
|
|
float prev = prevVertices[i];
|
|
|
vertices[i] = prev + (nextVertices[i] - prev) * percent;
|
|
@@ -917,7 +916,6 @@ public class Animation {
|
|
|
VertexAttachment vertexAttachment = (VertexAttachment)slotAttachment;
|
|
|
if (vertexAttachment.getBones() == null) {
|
|
|
// Unweighted vertex positions, with alpha.
|
|
|
- System.out.println(2);
|
|
|
float[] setupVertices = vertexAttachment.getVertices();
|
|
|
for (int i = 0; i < vertexCount; i++) {
|
|
|
float prev = prevVertices[i], setup = setupVertices[i];
|
|
@@ -925,7 +923,6 @@ public class Animation {
|
|
|
}
|
|
|
} else {
|
|
|
// Weighted deform offsets, with alpha.
|
|
|
- System.out.println(3);
|
|
|
for (int i = 0; i < vertexCount; i++) {
|
|
|
float prev = prevVertices[i];
|
|
|
vertices[i] = (prev + (nextVertices[i] - prev) * percent) * alpha;
|
|
@@ -933,7 +930,6 @@ public class Animation {
|
|
|
}
|
|
|
} else {
|
|
|
// Vertex positions or deform offsets, with alpha.
|
|
|
- System.out.println(4);
|
|
|
for (int i = 0; i < vertexCount; i++) {
|
|
|
float prev = prevVertices[i];
|
|
|
vertices[i] += (prev + (nextVertices[i] - prev) * percent - vertices[i]) * alpha;
|