mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-21 09:44:31 +00:00
fix build for Intel Compiler 11.1 -> move static ::getFixedBody method from header to cpp file.
This commit is contained in:
@@ -1199,4 +1199,10 @@ void btSequentialImpulseConstraintSolver::reset()
|
||||
m_btSeed2 = 0;
|
||||
}
|
||||
|
||||
btRigidBody& btSequentialImpulseConstraintSolver::getFixedBody()
|
||||
{
|
||||
static btRigidBody s_fixed(0, 0,0);
|
||||
s_fixed.setMassProps(btScalar(0.),btVector3(btScalar(0.),btScalar(0.),btScalar(0.)));
|
||||
return s_fixed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user