ncollide3d::utils

Function is_point_in_triangle

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

Tests if a point is inside of a triangle.