Function
BisSpringParamsnew_full
Declaration [src]
BisSpringParams*
bis_spring_params_new_full (
double damping,
double mass,
double stiffness
)
Description [src]
Creates a new BisSpringParams
from mass
, stiffness
and damping
.
See bis_spring_params_new()
for a simplified constructor using damping ratio
instead of damping
.
Available since: | 1.0 |
Parameters
damping |
double |
The damping of the spring. |
|
mass |
double |
The mass of the spring. |
|
stiffness |
double |
The stiffness of the spring. |
Return value
Returns: | BisSpringParams |
The newly created spring parameters. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |