[][src]Function duckduckgeo::wrap_position

pub fn wrap_position<N: MyNum>(a: &mut Vec2<N>, dim: Rect<N>)

Wraps the first point around the rectangle made between (0,0) and dim.