group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
DynamicsSystem.hpp
Go to the documentation of this file.
1
22
23#pragma once
24
27
28namespace physics
29{
30class ContactCache;
31struct SolverConfig;
32struct SleepConfig;
33} // namespace physics
34
35namespace systems
36{
37
47void runDynamics(Registry& registry,
48 float dt,
49 const physics::WorldGeometry& world,
50 physics::ContactCache& cache,
51 const physics::SolverConfig& solverCfg,
52 const physics::SleepConfig& sleepCfg);
53
54} // namespace systems
Shared ECS registry type alias for the game engine.
entt::registry Registry
Shared ECS registry type alias.
Definition Registry.hpp:11
Swept AABB and sphere collision queries against world geometry.
Definition ContactCache.hpp:26
Pure physics math — no ECS types, no registry.
Definition BroadphaseTree.cpp:11
Client-only input sampling system — split into two halves so mouse look can run every iterate() (smoo...
Definition DebugUI.hpp:15
void runDynamics(Registry &registry, float dt, const physics::WorldGeometry &world, physics::ContactCache &cache, const physics::SolverConfig &solverCfg, const physics::SleepConfig &sleepCfg)
One physics tick for rigid-body dynamic entities.
Definition DynamicsSystem.cpp:92
Definition Sleep.hpp:24
Definition Solver.hpp:25