Combines the infinite length raycast hit check into a single condition. This clarifies the logic and avoids redundant checks for early exit in the ray-triangle intersection test, improving performance.