We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55c91ab commit 3d2f838Copy full SHA for 3d2f838
ma/maSnap.cc
@@ -644,7 +644,7 @@ void transferToClosestPointOnTriSplit(
644
x[i] = getPosition(m, tv[i]);
645
}
646
647
- Vector testPt = x[0] * xi[0] + x[1] * xi[1] + x[2] * xi[3];
+ Vector testPt = x[0] * xi[0] + x[1] * xi[1] + x[2] * xi[2];
648
Vector targetPt;
649
650
m->getClosestPoint(g, testPt, targetPt, param);
0 commit comments