Function acme::Intersection(ray const&, triangle const&, point&, real)¶
Defined in File intersection.hxx
Function Documentation¶
-
bool acme::Intersection(ray const &ray_in, triangle const &triangle_in, point &point_out = DUMMY_POINT, real tolerance = EPSILON)¶
-
Intersection ray with triangle
WARNING: This function does not support coplanarity!
- Parameters
-
ray_in – Input ray
triangle_in – Input triangle
point_out – Output point
tolerance – Tolerance