diff options
| author | untodesu <kirill@untode.su> | 2025-09-11 16:14:09 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-09-11 16:14:09 +0500 |
| commit | 12947aafcc6a6eb362cc454e2149796ec9265743 (patch) | |
| tree | b39594da92c1c7678f2c5c04ad8dde3ecf0c9176 | |
| parent | cfa27fd8eed42599195fdff6d7d0e25586e8f18c (diff) | |
| download | voxelius-12947aafcc6a6eb362cc454e2149796ec9265743.tar.bz2 voxelius-12947aafcc6a6eb362cc454e2149796ec9265743.zip | |
Why did I even add those? min and max are public!!
| -rw-r--r-- | core/math/aabb.hh | 15 |
1 files changed, 0 insertions, 15 deletions
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<value_type>& other_box) const;
@@ -59,18 +56,6 @@ constexpr void math::AABB<T>::set_offset(const vector_type& base, const vector_t }
template<math::Arithmetic T>
-constexpr const typename math::AABB<T>::vector_type& math::AABB<T>::get_min(void) const
-{
- return min;
-}
-
-template<math::Arithmetic T>
-constexpr const typename math::AABB<T>::vector_type& math::AABB<T>::get_max(void) const
-{
- return max;
-}
-
-template<math::Arithmetic T>
constexpr bool math::AABB<T>::contains(const vector_type& point) const
{
auto result = true;
|
