17#include <SDL3/SDL_stdinc.h>
19#include <entt/entity/fwd.hpp>
20#include <glm/vec3.hpp>
93void appendSample(entt::registry& registry, entt::entity e, Uint64 captureNs,
const SampleInputs& inputs);
111InterpolatedTransform
sample(
const entt::registry& registry,
114 const glm::vec3& fallbackPos,
Per-entity ring of recent snapshot samples for renderer interpolation.
Definition EntityInterpolation.cpp:14
InterpolatedTransform sample(const entt::registry ®istry, entt::entity e, Uint64 renderTimeNs, const glm::vec3 &fallbackPos, float fallbackYaw)
Look up e's interpolated transform at renderTimeNs.
Definition EntityInterpolation.cpp:121
void appendSample(entt::registry ®istry, entt::entity e, Uint64 captureNs, const SampleInputs &inputs)
Append a snapshot sample at captureNs into the entity's InterpolationBuffer, creating the component o...
Definition EntityInterpolation.cpp:34
Snapshot of an entity's full animation state at one instant.
Definition AnimSnapshot.hpp:73