From 458e0005690ea9d579588a0a12368fc2c2c9a93a Mon Sep 17 00:00:00 2001 From: untodesu Date: Tue, 1 Jul 2025 03:08:39 +0500 Subject: I hyper-focued on refactoring again - I put a cool-sounding "we are number one" remix on repeat and straight up grinded the entire repository to a better state until 03:09 AM. I guess I have something wrong in my brain that makes me do this shit --- src/core/aabb.hh | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/core/aabb.hh (limited to 'src/core/aabb.hh') diff --git a/src/core/aabb.hh b/src/core/aabb.hh deleted file mode 100644 index 680c270..0000000 --- a/src/core/aabb.hh +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef CORE_AABB_HH -#define CORE_AABB_HH 1 -#pragma once - -class AABB final { -public: - AABB(void) = default; - 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); - - 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; - - 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; - glm::fvec3 max; -}; - -#endif /* CORE_AABB_HH */ -- cgit