From 6cd00aacfa22fed6a54a9b812f6b069ad16feec0 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sun, 29 Jun 2025 22:24:42 +0500 Subject: Move game sources into src subdirectory --- game/shared/collision.hh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 game/shared/collision.hh (limited to 'game/shared/collision.hh') diff --git a/game/shared/collision.hh b/game/shared/collision.hh deleted file mode 100644 index 641a803..0000000 --- a/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