From 6c2abde5c99a236453b795abaa6d7d70105e31f7 Mon Sep 17 00:00:00 2001 From: untodesu Date: Fri, 26 Dec 2025 14:50:33 +0500 Subject: Just a big Ctrl+H refactoring --- src/game/shared/entity/collision.hh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/game/shared/entity/collision.hh') diff --git a/src/game/shared/entity/collision.hh b/src/game/shared/entity/collision.hh index b37f409..34a648c 100644 --- a/src/game/shared/entity/collision.hh +++ b/src/game/shared/entity/collision.hh @@ -2,20 +2,14 @@ #include "core/math/aabb.hh" -namespace world -{ class Dimension; -} // namespace world -namespace entity -{ struct Collision final { math::AABBf aabb; public: - // NOTE: entity::Collision::fixed_update must be called - // before entity::Transform::fixed_update and entity::Velocity::fixed_update + // NOTE: Collision::fixed_update must be called + // before Transform::fixed_update and Velocity::fixed_update // because both transform and velocity may be updated internally - static void fixed_update(world::Dimension* dimension); + static void fixed_update(Dimension* dimension); }; -} // namespace entity -- cgit