Function acme::IsOrthogonal(ray const&, triangle const&, real)

Function Documentation

bool acme::IsOrthogonal(ray const &ray_in, triangle const &triangle_in, real tolerance = EPSILON)

Check if ray and triangle are orthogonal.

Parameters
  • ray_in – Input ray

  • triangle_in – Input triangle

  • tolerance – Tolerance