ncollide3d::utils

Function tetrahedron_center

Source
pub fn tetrahedron_center<N: RealField + Copy>(
    p1: &Point<N>,
    p2: &Point<N>,
    p3: &Point<N>,
    p4: &Point<N>,
) -> Point<N>
Expand description

Computes the center of a tetrahedron.