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