Skip to main content

spring

Function spring 

Source
pub fn spring(stiffness: f32, damping: f32) -> Spring
Expand description

Build a Spring from stiffness and damping; mass defaults to 1.0.