diff --git a/sources/reactphysics3d/mathematics/lcp/LCPProjectedGaussSeidel.h b/sources/reactphysics3d/mathematics/lcp/LCPProjectedGaussSeidel.h index 5d515782..3ff078e2 100644 --- a/sources/reactphysics3d/mathematics/lcp/LCPProjectedGaussSeidel.h +++ b/sources/reactphysics3d/mathematics/lcp/LCPProjectedGaussSeidel.h @@ -22,6 +22,7 @@ // Libraries #include "LCPSolver.h" +#include namespace reactphysics3d { @@ -35,7 +36,7 @@ namespace reactphysics3d { class LCPProjectedGaussSeidel : public LCPSolver { protected: - void LCPProjectedGaussSeidel::computeVectorA(const Vector& lambda, uint nbConstraints, const Body*** const bodyMapping, + void computeVectorA(const Vector& lambda, uint nbConstraints, const Body*** const bodyMapping, const Matrix** const B_sp, std::map bodyNumberMapping, Vector* const a, uint nbBodies) const ; // Compute the vector a used in the solve() method