Skip to main content

simulate_freefall

Function simulate_freefall 

Source
pub fn simulate_freefall(
    initial: &RocketState,
    n_steps: usize,
    dt: f64,
    gravity: f64,
) -> (Vec<Vector2<f64>>, Vec<Vector2<f64>>)
Expand description

Simulate free-fall trajectory (no thrust) for comparison.