fix build for Intel Compiler 11.1 -> move static ::getFixedBody method from header to cpp file.

This commit is contained in:
erwin.coumans
2010-09-08 00:38:15 +00:00
parent b041c3d266
commit c296122e4e
7 changed files with 24 additions and 21 deletions

View File

@@ -22,7 +22,12 @@
#include "LinearMath/btIDebugDraw.h"
#include "BulletDynamics/ConstraintSolver/btContactConstraint.h"
btRigidBody& btActionInterface::getFixedBody()
{
static btRigidBody s_fixed(0, 0,0);
s_fixed.setMassProps(btScalar(0.),btVector3(btScalar(0.),btScalar(0.),btScalar(0.)));
return s_fixed;
}
btRaycastVehicle::btRaycastVehicle(const btVehicleTuning& tuning,btRigidBody* chassis, btVehicleRaycaster* raycaster )
:m_vehicleRaycaster(raycaster),