Skip to main content

point_inside_sphere

Function point_inside_sphere 

Source
pub fn point_inside_sphere<T: Float, V: VecFloatOps<T> + VecN<T>>(
    p: V,
    s: V,
    r: T,
) -> bool
Expand description

returns true if sphere (or circle) with centre s and radius r contains point p