[−][src]Function graphics::math::separation
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.
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.