提交 af758f80 编写于 作者: R Robin Woodby

Fix #12327, QuickHull failing on coplanar sets of points

上级 fd514594
......@@ -470,7 +470,7 @@
// 3. The next vertex 'v3' is the one farthest to the plane 'v0', 'v1', 'v2'
maxDistance = 0;
maxDistance = -1;
plane.setFromCoplanarPoints( v0.point, v1.point, v2.point );
for ( i = 0, l = this.vertices.length; i < l; i ++ ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册