Fix disjoint

This commit is contained in:
Jonathan 2021-10-25 19:39:18 -04:00
parent 3f27b11bf9
commit 2bdfdc90cc
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public:
constexpr aabb translate(const value_type &vec) const { return {m_mins + vec, m_maxs + vec}; }
template<typename F>
constexpr bool disjoint(const aabb &other, const F &epsilon = 0) const
constexpr bool disjoint(const aabb<F, N> &other, const F &epsilon = 0) const
{
for (size_t i = 0; i < N; i++) {
if (m_maxs[i] < (other.m_mins[i] - epsilon))