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