Skip to main content

add_spin

Function add_spin 

Source
pub fn add_spin(f: &mut FrameMomentum, axis: [f64; 3], inertia: f64, speed: f64)
Expand description

Adds a rotor (or any wheel whose centre stays put) spinning at speed with inertia about the unit axis.