浏览代码

Updated builds.

Mr.doob 1 年之前
父节点
当前提交
cabaf2146c
共有 5 个文件被更改,包括 6 次插入3 次删除
  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 ) ) {
 		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 ) ) {
 			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 ) ) {
 		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


部分文件因为文件数量过多而无法显示