fix spine z roration (#3754)

This commit is contained in:
mmyduckx
2021-07-22 11:57:36 +08:00
committed by GitHub
parent 6f95ccf9ea
commit 1a92da3f43
@@ -831,6 +831,7 @@ void SkeletonRenderer::render(float /*deltaTime*/) {
cc::Vec3 *point = nullptr;
for (unsigned int ii = 0, nn = vbSize; ii < nn; ii += vbs) {
point = reinterpret_cast<cc::Vec3 *>(vbBuffer + ii);
point->z = 0; //reset for z value
point->transformMat4(*point, nodeWorldMat);
}
}