[−][src]Function duckduckgeo::repel_one
pub fn repel_one<B: RepelTrait>(
bot1: &mut B,
pos: Vec2<B::N>,
closest: B::N,
mag: B::N
) -> Result<(), ErrTooClose>
Repel one object by simply not calling add_force on the other.
pub fn repel_one<B: RepelTrait>(
bot1: &mut B,
pos: Vec2<B::N>,
closest: B::N,
mag: B::N
) -> Result<(), ErrTooClose>
Repel one object by simply not calling add_force on the other.