Fix compilation error on gcc
This commit is contained in:
parent
6f8d9586c7
commit
123cd93f38
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user