group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
CollisionEvents.cpp File Reference

Implementation of the per-tick collision event queue. More...

#include "ecs/physics/CollisionEvents.hpp"
#include <mutex>
#include <vector>
Include dependency graph for CollisionEvents.cpp:

Namespaces

namespace  physics
 Pure physics math — no ECS types, no registry.
namespace  physics::events

Functions

void physics::events::beginTick () noexcept
 Start a fresh per-tick event window.
void physics::events::pushTriggerEvent (const TriggerEvent &e) noexcept
 Append a trigger event to the current tick's queue.
std::span< const TriggerEventphysics::events::triggerEvents () noexcept
 Read-only snapshot of all events emitted since beginTick().

Detailed Description

Implementation of the per-tick collision event queue.