From ca334946a7583bc350419a124a6529a777f8ed63 Mon Sep 17 00:00:00 2001 From: Jingyu Chen Date: Fri, 18 Feb 2022 11:18:04 -0800 Subject: [PATCH] fixed the uninitialized values in FreeFall example --- examples/ReducedDeformableDemo/FreeFall.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ReducedDeformableDemo/FreeFall.cpp b/examples/ReducedDeformableDemo/FreeFall.cpp index 37b86d6b3..9e1e89717 100644 --- a/examples/ReducedDeformableDemo/FreeFall.cpp +++ b/examples/ReducedDeformableDemo/FreeFall.cpp @@ -174,8 +174,8 @@ void FreeFall::initPhysics() // m_dynamicsWorld->getSolverInfo().m_solverMode |= SOLVER_RANDMIZE_ORDER; // 2 reduced deformable cubes - createReducedDeformableObject(btVector3(0, 1, -2), btQuaternion()); - // createReducedDeformableObject(btVector3(0, 1, 2), btQuaternion()); + createReducedDeformableObject(btVector3(0, 1, -2), btQuaternion(0, 0, 0)); + createReducedDeformableObject(btVector3(0, 1, 2), btQuaternion(0, 0, 0)); // 2 rigid cubes Ctor_RbUpStack(btVector3(0, 3, -2));