Collider object not necessary

Collider object not necessary without DBVT_BP_ACCURATESLEEPING defined
This commit is contained in:
Gregery Barton
2017-05-04 05:22:00 +10:00
committed by GitHub
parent 7c439b2b6a
commit 03742208f1

View File

@@ -544,7 +544,9 @@ void btDbvtBroadphase::collide(btDispatcher* dispatcher)
btDbvtProxy* current=m_stageRoots[m_stageCurrent];
if(current)
{
#if DBVT_BP_ACCURATESLEEPING
btDbvtTreeCollider collider(this);
#endif
do {
btDbvtProxy* next=current->links[1];
listremove(current,m_stageRoots[current->stage]);