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.
pub fn step_scratch(
peds: &mut [Pedestrian],
walls: &[WallSegment],
params: &Params,
dt: f64,
scratch: &mut Scratch,
)Zero-allocation step variant. See
social_force::step_scratch
for the motivation.