|
@ -45,7 +45,7 @@ function Network (container, data, options) { |
|
|
this.renderRefreshRate = 60; // hz (fps)
|
|
|
this.renderRefreshRate = 60; // hz (fps)
|
|
|
this.renderTimestep = 1000 / this.renderRefreshRate; // ms -- saves calculation later on
|
|
|
this.renderTimestep = 1000 / this.renderRefreshRate; // ms -- saves calculation later on
|
|
|
this.renderTime = 0; // measured time it takes to render a frame
|
|
|
this.renderTime = 0; // measured time it takes to render a frame
|
|
|
this.physicsTime = 0; // measured time it takes to render a frame
|
|
|
|
|
|
|
|
|
this.physicsTime = 0; // measured time it takes to render a frame
|
|
|
this.runDoubleSpeed = false; |
|
|
this.runDoubleSpeed = false; |
|
|
this.physicsDiscreteStepsize = 0.50; // discrete stepsize of the simulation
|
|
|
this.physicsDiscreteStepsize = 0.50; // discrete stepsize of the simulation
|
|
|
|
|
|
|
|
|