small cleanup in the DemoApplication, removed references to obsolete PHY_ShapeProps/PHY_MaterialProps
removed deletion of motionstate in CcdPhysics/CcdPhysicsController destructor disabled m_type optimization in SimdTransform (making the memory size 64 byte, potentially more cache friendly) fixed a bug in island generation, causing the activation not propagating in one frame, but one 'layer' of rigidbodies at a time
This commit is contained in:
@@ -107,7 +107,7 @@ CcdPhysicsController::~CcdPhysicsController()
|
||||
if (m_cci.m_physicsEnv)
|
||||
m_cci.m_physicsEnv->removeCcdPhysicsController(this);
|
||||
|
||||
delete m_MotionState;
|
||||
///this should not be deleted, it has been allocated by the user//delete m_MotionState;
|
||||
delete m_body;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user