summaryrefslogtreecommitdiff
path: root/src/math-helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/math-helpers.cpp')
-rw-r--r--src/math-helpers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math-helpers.cpp b/src/math-helpers.cpp
index ebcd719..5150e55 100644
--- a/src/math-helpers.cpp
+++ b/src/math-helpers.cpp
@@ -6,6 +6,7 @@ void GlmToBullet(const glm::vec3 &vec, btVector3 &btVec) {
btVec.setX(vec.x);
btVec.setY(vec.y);
btVec.setZ(vec.z);
+ btVec.setW(0.f);
}
void GlmToBullet(const glm::quat &quat, btQuaternion &btQuat) {