diff --git a/src/constraint/FixedJoint.cpp b/src/constraint/FixedJoint.cpp index 9ed31f01..8f0b105c 100644 --- a/src/constraint/FixedJoint.cpp +++ b/src/constraint/FixedJoint.cpp @@ -30,7 +30,7 @@ using namespace reactphysics3d; // Static variables definition -constexpr decimal FixedJoint::BETA = decimal(0.2); +const decimal FixedJoint::BETA = decimal(0.2); // Constructor FixedJoint::FixedJoint(const FixedJointInfo& jointInfo) diff --git a/src/constraint/HingeJoint.cpp b/src/constraint/HingeJoint.cpp index 4b152caa..1634bf27 100644 --- a/src/constraint/HingeJoint.cpp +++ b/src/constraint/HingeJoint.cpp @@ -31,7 +31,7 @@ using namespace reactphysics3d; // Static variables definition -constexpr decimal HingeJoint::BETA = decimal(0.2); +const decimal HingeJoint::BETA = decimal(0.2); // Constructor HingeJoint::HingeJoint(const HingeJointInfo& jointInfo) diff --git a/src/constraint/SliderJoint.cpp b/src/constraint/SliderJoint.cpp index efe7cbff..919d91c0 100644 --- a/src/constraint/SliderJoint.cpp +++ b/src/constraint/SliderJoint.cpp @@ -29,7 +29,7 @@ using namespace reactphysics3d; // Static variables definition -constexpr decimal SliderJoint::BETA = decimal(0.2); +const decimal SliderJoint::BETA = decimal(0.2); // Constructor SliderJoint::SliderJoint(const SliderJointInfo& jointInfo)