Fix compilation error on gcc

This commit is contained in:
Daniel Chappuis 2016-08-21 20:37:58 +02:00
parent 6f8d9586c7
commit 123cd93f38
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)