[ CCode ( has_construct_function = false ) ]
public SpringParams.full (double damping, double mass, double stiffness)
Creates a new `AdwSpringParams` from mass
, stiffness
and damping
.
See [[email protected]] for a simplified constructor using damping ratio instead of damping
.
damping |
the damping of the spring |
mass |
the mass of the spring |
stiffness |
the stiffness of the spring |
the newly created spring parameters |