Fix compilation error on gcc

This commit is contained in:
Daniel Chappuis 2016-08-21 20:44:29 +02:00
parent 123cd93f38
commit 2f195c6106

View File

@ -34,9 +34,9 @@ using namespace reactphysics3d;
using namespace std;
// Constants initialization
constexpr decimal ContactSolver::BETA = decimal(0.2);
constexpr decimal ContactSolver::BETA_SPLIT_IMPULSE = decimal(0.2);
constexpr decimal ContactSolver::SLOP= decimal(0.01);
const decimal ContactSolver::BETA = decimal(0.2);
const decimal ContactSolver::BETA_SPLIT_IMPULSE = decimal(0.2);
const decimal ContactSolver::SLOP= decimal(0.01);
// Constructor
ContactSolver::ContactSolver(const std::map<RigidBody*, uint>& mapBodyToVelocityIndex)