diff options
Diffstat (limited to 'extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.h')
-rw-r--r-- | extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.h b/extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.h new file mode 100644 index 00000000000..64c2f04e29d --- /dev/null +++ b/extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2005 Erwin Coumans http://www.erwincoumans.com + * + * Permission to use, copy, modify, distribute and sell this software + * and its documentation for any purpose is hereby granted without fee, + * provided that the above copyright notice appear in all copies. + * Erwin Coumans makes no representations about the suitability + * of this software for any purpose. + * It is provided "as is" without express or implied warranty. +*/ +#define USE_SOR_SOLVER +#ifdef USE_SOR_SOLVER + +#ifndef SOR_LCP_H +#define SOR_LCP_H +class RigidBody; +class BU_Joint; +#include "SimdScalar.h" + +struct ContactSolverInfo; + +void SolveInternal1 (float global_cfm, + float global_erp, + RigidBody * const *body, int nb, + BU_Joint * const *_joint, int nj, const ContactSolverInfo& info); + +int dRandInt2 (int n); + + +#endif //SOR_LCP_H + +#endif //USE_SOR_SOLVER
\ No newline at end of file |