diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-10-24 13:43:58 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-11-15 13:11:11 -0500 |
| commit | 18e65823663af6e2a1472b66486526a23d5e9c30 (patch) | |
| tree | bcd8ce9cec02ce56d644549a33951c20e7228423 /src/components.hpp | |
| parent | bd924c70c7c6e98b53c784f3b06f6b315741b8d0 (diff) | |
don't convert bullet to glm unless needed
Diffstat (limited to 'src/components.hpp')
| -rw-r--r-- | src/components.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components.hpp b/src/components.hpp index f10dd63..0903492 100644 --- a/src/components.hpp +++ b/src/components.hpp @@ -7,7 +7,6 @@ #include <BulletCollision/CollisionShapes/btCollisionShape.h> #include <LinearMath/btDefaultMotionState.h> #include <BulletDynamics/Dynamics/btRigidBody.h> -#include <glm/gtc/quaternion.hpp> #include <vulkan/vulkan_core.h> const uint64_t ECS_UNSET_VAL = 0xFFFFFFFFFFFFFFFF; @@ -55,9 +54,8 @@ struct CompGrBinds { }; struct InstPos { - glm::vec3 pos; - glm::quat rot; - glm::vec3 scale; + btTransform posRot; + btVector3 scale; }; struct CompInstance { |
