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/game/shared/collision.hh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/game/shared/collision.hh (limited to 'src/game/shared/collision.hh') diff --git a/src/game/shared/collision.hh b/src/game/shared/collision.hh deleted file mode 100644 index 1d2b358..0000000 --- a/src/game/shared/collision.hh +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef SHARED_COLLISION_HH -#define SHARED_COLLISION_HH 1 -#pragma once - -#include "core/aabb.hh" - -class Dimension; - -struct CollisionComponent final { - AABB aabb; - -public: - // NOTE: CollisionComponent::fixed_update must be called - // before TransformComponent::fixed_update and VelocityComponent::fixed_update - // because both transform and velocity may be updated internally - static void fixed_update(Dimension* dimension); -}; - -#endif // SHARED_COLLISION_HH -- cgit