Skip to content

Commit

Permalink
#3 add options.pathBoundsMethod to HookesLawSpringNode
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Aug 12, 2015
1 parent bb7ef88 commit 05a44df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/common/view/HookesLawSpringNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ define( function( require ) {
minLineWidth: 3, // {number} lineWidth used to stroke the spring for minimum spring constant
deltaLineWidth: 0.005, // increase in line width per 1 unit of spring constant increase
leftEndLength: 15, // {number} length of the horizontal line added to the left end of the coil
rightEndLength: 25 // {number} length of the horizontal line added to the right end of the coil
rightEndLength: 25, // {number} length of the horizontal line added to the right end of the coil
pathBoundsMethod: 'accurate' // {string} method used to compute bounds for scenery.Path components, see Path.boundsMethod
}, options );

var thisNode = this;
Expand Down

0 comments on commit 05a44df

Please sign in to comment.