瀏覽代碼

Mesh: Use correct vertex to compute normal during raycasting

Elisée Maurer 4 年之前
父節點
當前提交
e087542d61
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/objects/Mesh.js

+ 1 - 1
src/objects/Mesh.js

@@ -402,7 +402,7 @@ function checkBufferGeometryIntersection( object, material, raycaster, ray, posi
 
 		const face = {
 			a: a,
-			b: a,
+			b: b,
 			c: c,
 			normal: new Vector3(),
 			materialIndex: 0