提交 5d2bc563 编写于 作者: M michael

Removed invalid face from raycast.

上级 e9e12e2a
......@@ -171,13 +171,11 @@
if ( ! THREE.Triangle.containsPoint( intersectPoint, vA, vB, vC ) ) continue;
var face = new THREE.Face3( vA, vB, vC );
intersects.push( {
distance: planeDistance, // this works because the original ray was normalized, and the transformed localRay wasn't
point: raycaster.ray.at(planeDistance),
face: face,
face: null,
faceIndex: null,
object: object
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册