group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
DeterminismHash.hpp
Go to the documentation of this file.
1
15
16#pragma once
17
19
20#include <cstdint>
21
22namespace physics::diag
23{
24
31[[nodiscard]] uint64_t hashPhysicsState(const Registry& registry) noexcept;
32
33} // namespace physics::diag
Shared ECS registry type alias for the game engine.
entt::registry Registry
Shared ECS registry type alias.
Definition Registry.hpp:11
Definition DeterminismHash.cpp:16
uint64_t hashPhysicsState(const Registry &registry) noexcept
Compute a deterministic hash of physics-relevant ECS state.
Definition DeterminismHash.cpp:42