From 12947aafcc6a6eb362cc454e2149796ec9265743 Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Sep 2025 16:14:09 +0500 Subject: Why did I even add those? min and max are public!! --- core/math/aabb.hh | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'core/math/aabb.hh') diff --git a/core/math/aabb.hh b/core/math/aabb.hh index 59a345a..ed3cf39 100644 --- a/core/math/aabb.hh +++ b/core/math/aabb.hh @@ -17,9 +17,6 @@ public: constexpr void set_bounds(const vector_type& start, const vector_type& end); constexpr void set_offset(const vector_type& base, const vector_type& size); - constexpr const vector_type& get_min(void) const; - constexpr const vector_type& get_max(void) const; - constexpr bool contains(const vector_type& point) const; constexpr bool intersect(const AABB& other_box) const; @@ -58,18 +55,6 @@ constexpr void math::AABB::set_offset(const vector_type& base, const vector_t max = base + size; } -template -constexpr const typename math::AABB::vector_type& math::AABB::get_min(void) const -{ - return min; -} - -template -constexpr const typename math::AABB::vector_type& math::AABB::get_max(void) const -{ - return max; -} - template constexpr bool math::AABB::contains(const vector_type& point) const { -- cgit