Skip to main content

point_in_triangle

Function point_in_triangle 

Source
pub fn point_in_triangle(p: &Vec3, a: &Vec3, b: &Vec3, c: &Vec3) -> bool
Expand description

Test whether point p lies inside triangle (a, b, c).