Преглед изворни кода

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