mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 01:49:44 +00:00
move to namespace
This commit is contained in:
parent
67ed7ac582
commit
8798b34423
8 changed files with 63 additions and 45 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue