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