diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-10-31 12:46:09 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-11-15 13:13:25 -0500 |
| commit | f2c808b1235b9d76e4d4753c025f404e7736ca3c (patch) | |
| tree | 34100f4a05d6feb40474c50f1d3539611b0016ba /src/main.cpp | |
| parent | 18e65823663af6e2a1472b66486526a23d5e9c30 (diff) | |
use model for collision + refactor physics init and rigidbody creation
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index c8c8a0d..045fdfe 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,6 +6,7 @@ #include <thread> #include <csignal> +#include "physics.hpp" #include "player-input.hpp" #include "asset-manager.hpp" #include "ecs.hpp" @@ -32,6 +33,7 @@ int main() { fprintf(stdout, "PKE ENTERING\n"); try { AM_Init(); + Physics_Init(); Game_Init(); ECS_Init(); CreateWindow(&windowProps); @@ -126,6 +128,7 @@ int main() { Event_Teardown(); EntityType_Teardown(); PkeInput_Teardown(); + Physics_Teardown(); ECS_Teardown(); AM_DebugPrint(); AM_Teardown(); |
