b3DynamicBvhBroadphase::~b3DynamicBvhBroadphase() { if(m_releasepaircache) { m_paircache->~b3OverlappingPairCache(); b3AlignedFree(m_paircache); } }
void b3Win32ThreadSupport::deleteCriticalSection(b3CriticalSection* criticalSection) { criticalSection->~b3CriticalSection(); b3AlignedFree(criticalSection); }
void b3Win32ThreadSupport::deleteBarrier(b3Barrier* barrier) { barrier->~b3Barrier(); b3AlignedFree(barrier); }