ncollide3d::utils

Function tetrahedron_volume

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

Computes the volume of a tetrahedron.