summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerwincoumans <erwin.coumans@gmail.com>2019-06-10 19:23:49 -0400
committerGitHub <noreply@github.com>2019-06-10 19:23:49 -0400
commit9457646737c4bff3c8ec9f5e93fadff705ef2eef (patch)
tree4aebd5ea81555bedf0107ac951903912567e192a
parent500264ca239d3fdf69162c75c5b40ee04baae458 (diff)
parent960cadd9192f8e8460def8192b9b0f850040f5d3 (diff)
downloadbullet3-9457646737c4bff3c8ec9f5e93fadff705ef2eef.tar.gz
Merge pull request #2279 from AndreaCatania/patch-3
Fix initialization order
-rw-r--r--src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h b/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h
index 542ea23c9..2b88e25be 100644
--- a/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h
+++ b/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h
@@ -80,11 +80,11 @@ struct btSISolverSingleIterationData
m_orderNonContactConstraintPool(orderNonContactConstraintPool),
m_orderFrictionConstraintPool(orderFrictionConstraintPool),
m_tmpConstraintSizesPool(tmpConstraintSizesPool),
+ m_seed(seed),
m_resolveSingleConstraintRowGeneric(resolveSingleConstraintRowGeneric),
m_resolveSingleConstraintRowLowerLimit(resolveSingleConstraintRowLowerLimit),
m_resolveSplitPenetrationImpulse(resolveSplitPenetrationImpulse),
m_kinematicBodyUniqueIdToSolverBodyTable(kinematicBodyUniqueIdToSolverBodyTable),
- m_seed(seed),
m_fixedBodyId(fixedBodyId),
m_maxOverrideNumSolverIterations(maxOverrideNumSolverIterations)
{
@@ -320,4 +320,4 @@ public:
btSolverAnalyticsData m_analyticsData;
};
-#endif //BT_SEQUENTIAL_IMPULSE_CONSTRAINT_SOLVER_H \ No newline at end of file
+#endif //BT_SEQUENTIAL_IMPULSE_CONSTRAINT_SOLVER_H