21#include <unordered_map>
53 std::unordered_map<Entity, TrailState> states_;
Math utilities and GLM configuration for ESEngine.
Central ECS registry for entity and component management.
World-space motion trail renderable (sword swipes, projectile/dash streaks, ribbon effects).
Core type definitions and utilities for ESEngine.
RAII handle for signal connections.
Central container for all entities and components.
void update(ecs::Registry ®istry, f32 dt)
const TrailState * getState(Entity entity) const
void clear(Entity entity)
float f32
32-bit floating point
Entity identifier with packed index + generation.
One recorded trail sample: a world position stamped with the sim clock.
f32 birth_time
Value of TrailSystem::now() when recorded.
Per-entity point history. Front = oldest (tail), back = newest (near head).
std::deque< TrailPoint > points