summaryrefslogtreecommitdiffstats
path: root/core/aabb.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
committeruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
commit88c01588aa0830e219eaa62588839e4d1e2883ce (patch)
tree602bb27dd3399aab4aae8c19630e3b7a8dac824b /core/aabb.hh
parent99cf6cca8dbbc1e563c10cf0167432d3d8af9783 (diff)
downloadvoxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.tar.bz2
voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.zip
Clang-format the entire source code
Diffstat (limited to 'core/aabb.hh')
-rw-r--r--core/aabb.hh20
1 files changed, 10 insertions, 10 deletions
diff --git a/core/aabb.hh b/core/aabb.hh
index 61193a4..127f90f 100644
--- a/core/aabb.hh
+++ b/core/aabb.hh
@@ -7,21 +7,21 @@
class AABB final {
public:
DECLARE_DEFAULT_CTOR(AABB);
- explicit AABB(const glm::fvec3 &min, const glm::fvec3 &max);
+ explicit AABB(const glm::fvec3& min, const glm::fvec3& max);
virtual ~AABB(void) = default;
- void set_bounds(const glm::fvec3 &min, const glm::fvec3 &max);
- void set_offset(const glm::fvec3 &base, const glm::fvec3 &size);
+ void set_bounds(const glm::fvec3& min, const glm::fvec3& max);
+ void set_offset(const glm::fvec3& base, const glm::fvec3& size);
- const glm::fvec3 &get_min(void) const;
- const glm::fvec3 &get_max(void) const;
+ const glm::fvec3& get_min(void) const;
+ const glm::fvec3& get_max(void) const;
- bool contains(const glm::fvec3 &point) const;
- bool intersect(const AABB &other_box) const;
+ bool contains(const glm::fvec3& point) const;
+ bool intersect(const AABB& other_box) const;
- AABB combine_with(const AABB &other_box) const;
- AABB multiply_with(const AABB &other_box) const;
- AABB push(const glm::fvec3 &vector) const;
+ AABB combine_with(const AABB& other_box) const;
+ AABB multiply_with(const AABB& other_box) const;
+ AABB push(const glm::fvec3& vector) const;
public:
glm::fvec3 min;