Explorar el Código

Mesh: Add deprecation comment in `checkGeometryIntersection` (#25971)

Levi Pesin hace 2 años
padre
commit
7fb2a44826
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/objects/Mesh.js

+ 1 - 1
src/objects/Mesh.js

@@ -388,7 +388,7 @@ function checkGeometryIntersection( object, material, raycaster, ray, uv, uv1, n
 			_uvC.fromBufferAttribute( uv1, c );
 
 			intersection.uv1 = Triangle.getInterpolation( _intersectionPoint, _vA, _vB, _vC, _uvA, _uvB, _uvC, new Vector2() );
-			intersection.uv2 = intersection.uv1; // Backwards compatibility
+			intersection.uv2 = intersection.uv1; // @deprecated, r152
 
 		}
 

粤ICP备19079148号