[][src]Function ncollide3d::utils::tetrahedron_signed_volume

pub fn tetrahedron_signed_volume<N: RealField>(
    p1: &Point<N>,
    p2: &Point<N>,
    p3: &Point<N>,
    p4: &Point<N>
) -> N

Computes the signed volume of a tetrahedron.

If it is positive, p4 is on the half-space pointed by the normal of the oriented triangle (p1, p2, p3).