diff options
| author | untodesu <kirill@untode.su> | 2025-06-25 00:44:36 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-06-25 00:44:36 +0500 |
| commit | 88c01588aa0830e219eaa62588839e4d1e2883ce (patch) | |
| tree | 602bb27dd3399aab4aae8c19630e3b7a8dac824b /game/shared/chunk_aabb.hh | |
| parent | 99cf6cca8dbbc1e563c10cf0167432d3d8af9783 (diff) | |
| download | voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.tar.bz2 voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.zip | |
Clang-format the entire source code
Diffstat (limited to 'game/shared/chunk_aabb.hh')
| -rw-r--r-- | game/shared/chunk_aabb.hh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/game/shared/chunk_aabb.hh b/game/shared/chunk_aabb.hh index 68b8701..e215f9a 100644 --- a/game/shared/chunk_aabb.hh +++ b/game/shared/chunk_aabb.hh @@ -9,18 +9,18 @@ public: explicit ChunkAABB(void) = default; virtual ~ChunkAABB(void) = default; - void set_bounds(const chunk_pos &min, const chunk_pos &max); - void set_offset(const chunk_pos &base, const chunk_pos &size); + void set_bounds(const chunk_pos& min, const chunk_pos& max); + void set_offset(const chunk_pos& base, const chunk_pos& size); - const chunk_pos &get_min(void) const; - const chunk_pos &get_max(void) const; + const chunk_pos& get_min(void) const; + const chunk_pos& get_max(void) const; - bool contains(const chunk_pos &point) const; - bool intersect(const ChunkAABB &other_box) const; + bool contains(const chunk_pos& point) const; + bool intersect(const ChunkAABB& other_box) const; - ChunkAABB combine_with(const ChunkAABB &other_box) const; - ChunkAABB multiply_with(const ChunkAABB &other_box) const; - ChunkAABB push(const chunk_pos &vector) const; + ChunkAABB combine_with(const ChunkAABB& other_box) const; + ChunkAABB multiply_with(const ChunkAABB& other_box) const; + ChunkAABB push(const chunk_pos& vector) const; public: chunk_pos min; |
