Skip to content

Commit

Permalink
Merge pull request #19762 from dskeithbuck/dskeithbuck-catmull-defaults
Browse files Browse the repository at this point in the history
CatmullRomCurve3: Ensure zero is valid argument for tension.
  • Loading branch information
mrdoob committed Jun 30, 2020
2 parents 7d496c0 + 3968d51 commit 370282e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extras/curves/CatmullRomCurve3.js
Expand Up @@ -92,7 +92,7 @@ function CatmullRomCurve3( points, closed, curveType, tension ) {
this.points = points || [];
this.closed = closed || false;
this.curveType = curveType || 'centripetal';
this.tension = tension || 0.5;
this.tension = ( tension !== undefined ) ? tension : 0.5;

}

Expand Down

0 comments on commit 370282e

Please sign in to comment.