Function graphics::math::separation
[−]
[src]
pub fn separation(ray: Ray, v: Vec2d) -> Vec2d
Compute the shortest vector from point to ray. A ray stores starting point and directional vector.