move to namespace

This commit is contained in:
Andrey Tazetdinov 2026-10-21 11:28:33 +02:00
parent 67ed7ac582
commit 8798b34423
8 changed files with 63 additions and 45 deletions

View file

@ -1,6 +1,8 @@
#include "sensors.hpp"
void update_sensors(Hitbox& hitbox, const std::vector<Sensor*>& sensors) {
void physics::update_sensors(
Hitbox& hitbox, const std::vector<Sensor*>& sensors
) {
auto aabb = hitbox.getAABB();
for (size_t i = 0; i < sensors.size(); i++) {