Skip to main content

step_scratch

Function step_scratch 

Source
pub fn step_scratch(
    peds: &mut [Pedestrian],
    walls: &[WallSegment],
    params: &Params,
    dt: f64,
    scratch: &mut Scratch,
)
Expand description

Zero-allocation step variant. See social_force::step_scratch for the motivation.