SpringParams.newFull

adw.spring_params.SpringParams newFull(double damping, double mass, double stiffness)

Creates a new [adw.spring_params.SpringParams] from mass, stiffness and damping.

See [adw.spring_params.SpringParams.new_] for a simplified constructor using damping ratio instead of damping.

Parameters

dampingthe damping of the spring
massthe mass of the spring
stiffnessthe stiffness of the spring

Returns

the newly created spring parameters