Skip to main content

plane_distance

Function plane_distance 

Source
pub fn plane_distance<T: SignedNumber, V: VecN<T>>(x: V, n: V) -> T
Expand description

returns the distance to the plane define by a point on the plane x and normal of the plane n