|
@ -95,7 +95,7 @@ exports._calculateForces = function () { |
|
|
this._calculateGravitationalForces(); |
|
|
this._calculateGravitationalForces(); |
|
|
this._calculateNodeForces(); |
|
|
this._calculateNodeForces(); |
|
|
|
|
|
|
|
|
if (this.constants.springConstant > 0) { |
|
|
|
|
|
|
|
|
if (this.constants.physics.springConstant > 0) { |
|
|
if (this.constants.smoothCurves.enabled == true && this.constants.smoothCurves.dynamic == true) { |
|
|
if (this.constants.smoothCurves.enabled == true && this.constants.smoothCurves.dynamic == true) { |
|
|
this._calculateSpringForcesWithSupport(); |
|
|
this._calculateSpringForcesWithSupport(); |
|
|
} |
|
|
} |
|
|