|
group2 0.1.0
CSE 125 Group 2
|
Transform skeleton joint poses into world-space hitbox capsules. More...
#include "ecs/systems/HitboxSystem.hpp"#include "ecs/components/CollisionShape.hpp"#include "ecs/components/Hitbox.hpp"#include "ecs/components/InputSnapshot.hpp"#include "ecs/components/PlayerVisState.hpp"#include "ecs/components/Position.hpp"#include "ecs/components/RespawnTimer.hpp"#include <cmath>#include <glm/ext/matrix_transform.hpp>#include <glm/gtc/quaternion.hpp>#include <vector>Namespaces | |
| namespace | systems |
| Client-only input sampling system — split into two halves so mouse look can run every iterate() (smooth camera at any FPS) while movement keys run once per physics tick group (server-consistent). | |
Macros | |
| #define | GROUP2_HITBOX_HAS_PARALLEL 0 |
Functions | |
| void | systems::updateHitboxes (Registry ®istry, const HitboxRig &hitboxRig, float rigScale, float rigMeshMinY) |
| Update world-space hitbox capsules for all entities that have JointMatrices. | |
Transform skeleton joint poses into world-space hitbox capsules.
| #define GROUP2_HITBOX_HAS_PARALLEL 0 |