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
damping | the damping of the spring |
mass | the mass of the spring |
stiffness | the stiffness of the spring |
Returns
the newly created spring parameters