2
0
Mr.doob 1 жил өмнө
parent
commit
cabaf2146c

+ 2 - 1
build/three.cjs

@@ -34533,7 +34533,8 @@ class CurvePath extends Curve {
 
 		if ( ! startPoint.equals( endPoint ) ) {
 
-			this.curves.push( new LineCurve( endPoint, startPoint ) );
+			const lineType = ( startPoint.isVector2 === true ) ? 'LineCurve' : 'LineCurve3';
+			this.curves.push( new Curves[ lineType ]( endPoint, startPoint ) );
 
 		}
 

+ 2 - 1
build/three.js

@@ -34538,7 +34538,8 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
 
 			if ( ! startPoint.equals( endPoint ) ) {
 
-				this.curves.push( new LineCurve( endPoint, startPoint ) );
+				const lineType = ( startPoint.isVector2 === true ) ? 'LineCurve' : 'LineCurve3';
+				this.curves.push( new Curves[ lineType ]( endPoint, startPoint ) );
 
 			}
 

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
build/three.min.js


+ 2 - 1
build/three.module.js

@@ -34531,7 +34531,8 @@ class CurvePath extends Curve {
 
 		if ( ! startPoint.equals( endPoint ) ) {
 
-			this.curves.push( new LineCurve( endPoint, startPoint ) );
+			const lineType = ( startPoint.isVector2 === true ) ? 'LineCurve' : 'LineCurve3';
+			this.curves.push( new Curves[ lineType ]( endPoint, startPoint ) );
 
 		}
 

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
build/three.module.min.js


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно