Skip to content

Commit cabaf21

Browse files
committed
Updated builds.
1 parent 1c85c95 commit cabaf21

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

build/three.cjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -34533,7 +34533,8 @@ class CurvePath extends Curve {
3453334533

3453434534
if ( ! startPoint.equals( endPoint ) ) {
3453534535

34536-
this.curves.push( new LineCurve( endPoint, startPoint ) );
34536+
const lineType = ( startPoint.isVector2 === true ) ? 'LineCurve' : 'LineCurve3';
34537+
this.curves.push( new Curves[ lineType ]( endPoint, startPoint ) );
3453734538

3453834539
}
3453934540

build/three.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -34538,7 +34538,8 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
3453834538

3453934539
if ( ! startPoint.equals( endPoint ) ) {
3454034540

34541-
this.curves.push( new LineCurve( endPoint, startPoint ) );
34541+
const lineType = ( startPoint.isVector2 === true ) ? 'LineCurve' : 'LineCurve3';
34542+
this.curves.push( new Curves[ lineType ]( endPoint, startPoint ) );
3454234543

3454334544
}
3454434545

build/three.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.module.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -34531,7 +34531,8 @@ class CurvePath extends Curve {
3453134531

3453234532
if ( ! startPoint.equals( endPoint ) ) {
3453334533

34534-
this.curves.push( new LineCurve( endPoint, startPoint ) );
34534+
const lineType = ( startPoint.isVector2 === true ) ? 'LineCurve' : 'LineCurve3';
34535+
this.curves.push( new Curves[ lineType ]( endPoint, startPoint ) );
3453534536

3453634537
}
3453734538

build/three.module.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)