From 1b48d1382d2d57a822201f34743a51813798b348 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 18 Jan 2024 22:37:02 -0500 Subject: camera checkpoint - large refactor for attempting to let physics own camera position --- src/components.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components.hpp') diff --git a/src/components.hpp b/src/components.hpp index 60b4c8e..7d298ec 100644 --- a/src/components.hpp +++ b/src/components.hpp @@ -4,7 +4,7 @@ #include "dynamic-array.hpp" #include "macros.hpp" #include "physics.hpp" -#include "plugins.hpp" +#include "plugin-types.hpp" #include #include @@ -74,8 +74,8 @@ struct InstPos { btScalar mass; }; struct InstBt { - btDefaultMotionState *motionState; - btRigidBody *rigidBody; + btDefaultMotionState *motionState = nullptr; + btRigidBody *rigidBody = nullptr; }; struct CompInstance { EntityHandle entHandle = EntityHandle_MAX; -- cgit v1.2.3