From f2c808b1235b9d76e4d4753c025f404e7736ca3c Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Tue, 31 Oct 2023 12:46:09 -0400 Subject: use model for collision + refactor physics init and rigidbody creation --- src/entities.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/entities.hpp') diff --git a/src/entities.hpp b/src/entities.hpp index 4c5b498..f45f7d3 100644 --- a/src/entities.hpp +++ b/src/entities.hpp @@ -9,6 +9,7 @@ #include "memory.hpp" #include "window.hpp" +#include #include struct EntityType { @@ -30,6 +31,9 @@ struct EntityType { int16_t AccessorIndexUV = -1; int16_t AccessorIndexIndex = -1; } Importer_GLTF; + struct { + btCollisionShape *shape = nullptr; + } bt; }; extern DynArray GlobalEntityTypes; -- cgit v1.2.3