Browse Source

Updated builds.

Mr.doob 1 year ago
parent
commit
cabaf2146c
5 changed files with 6 additions and 3 deletions
  1. 2 1
      build/three.cjs
  2. 2 1
      build/three.js
  3. 0 0
      build/three.min.js
  4. 2 1
      build/three.module.js
  5. 0 0
      build/three.module.min.js

+ 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 ) );
 
 			}
 

File diff suppressed because it is too large
+ 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 ) );
 
 		}
 

File diff suppressed because it is too large
+ 0 - 0
build/three.module.min.js


Some files were not shown because too many files changed in this diff