Explorar o código

Merge pull request #21394 from elisee/patch-1

Mesh: Fix face indices in intersection object.
Michael Herzog %!s(int64=4) %!d(string=hai) anos
pai
achega
4a87cb5cc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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