Skip to main content

separation

Function separation 

Source
pub fn separation(agent: &SteeringAgent, neighbors: &[&SteeringAgent]) -> Vec2
Expand description

Separation: maintain distance from nearby agents.