diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2024-01-18 22:37:02 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2024-01-18 22:37:02 -0500 |
| commit | 1b48d1382d2d57a822201f34743a51813798b348 (patch) | |
| tree | 612672a4be654b38f3b44580f85e4f0637952512 /src/components.hpp | |
| parent | 2e680ebd77236f7b62b9ded1b083c86f9e13b1c8 (diff) | |
camera checkpoint - large refactor for attempting to let physics own camera position
Diffstat (limited to 'src/components.hpp')
| -rw-r--r-- | src/components.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 <BulletDynamics/Dynamics/btRigidBody.h> #include <LinearMath/btDefaultMotionState.h> @@ -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; |
