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

Function Documentation

bool acme::IsOrthogonal(vec3 const &vector_in, ray const &ray_in, real tolerance = EPSILON)

Check if vector and ray are orthogonal.

Parameters
  • vector_in – Input vector

  • ray_in – Input ray

  • tolerance – Tolerance