if (boneWeightAttributes.size() > 0)
{
buildMatrix(TEMP_MATRIX, boneWeightAttributes, vertexBuf, vertexIndex, bones);
TEMP_VEC.set(vertexX, vertexY, vertexZ, 1.0f);
Matrix4f.transform(TEMP_MATRIX, TEMP_VEC, TEMP_VEC);
<BUG>renderer.addVertex(TEMP_VEC.x, TEMP_VEC.y, TEMP_VEC.z);
</BUG>
}
else
<BUG>renderer.addVertex(vertexX, vertexY, vertexZ);
</BUG>
}

if (boneWeightAttributes.size() > 0)
{
buildMatrix(TEMP_MATRIX, boneWeightAttributes, vertexBuf, vertexIndex, bones);
TEMP_VEC.set(vertexX, vertexY, vertexZ, 1.0f);
Matrix4f.transform(TEMP_MATRIX, TEMP_VEC, TEMP_VEC);
renderer.pos(TEMP_VEC.x, TEMP_VEC.y, TEMP_VEC.z).endVertex();
}
else
renderer.pos(vertexX, vertexY, vertexZ).endVertex();
}
