Skip to content

Commit

Permalink
Updated builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Sep 28, 2023
1 parent 1c85c95 commit cabaf21
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion build/three.cjs
Expand Up @@ -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 ) );

}

Expand Down
3 changes: 2 additions & 1 deletion build/three.js
Expand Up @@ -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 ) );

}

Expand Down
2 changes: 1 addition & 1 deletion build/three.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion build/three.module.js
Expand Up @@ -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 ) );

}

Expand Down
2 changes: 1 addition & 1 deletion build/three.module.min.js

Large diffs are not rendered by default.

0 comments on commit cabaf21

Please sign in to comment.