Skip to main content

simulate_bounce

Function simulate_bounce 

Source
pub fn simulate_bounce(
    params: &BounceParams,
    initial_pos: Vec3,
    initial_vel: Vec3,
    gravity: f32,
    dt: f32,
    max_steps: usize,
    floor_y: f32,
) -> Vec<Vec3>