src/collision/narrowphase/NarrowPhaseInput.cpp
void NarrowPhaseInput::reserveMemory() {

    mSphereVsSphereBatch.reserveMemory();
    mSphereVsCapsuleBatch.reserveMemory();
    mCapsuleVsCapsuleBatch.reserveMemory();
    mSphereVsConvexPolyhedronBatch.reserveMemory();
    mCapsuleVsConvexPolyhedronBatch.reserveMemory();
    mConvexPolyhedronVsConvexPolyhedronBatch.reserveMemory();
}
/// Reserve memory for the containers with cached capacity
Reserve memory for the containers with cached capacity
Reserve memory for the containers with cached capacity
void NarrowPhaseInput::reserveMemory() {
    mSphereVsSphereBatch.reserveMemory();
    mSphereVsCapsuleBatch.reserveMemory();
    mCapsuleVsCapsuleBatch.reserveMemory();
    mSphereVsConvexPolyhedronBatch.reserveMemory();
    mCapsuleVsConvexPolyhedronBatch.reserveMemory();
    mConvexPolyhedronVsConvexPolyhedronBatch.reserveMemory();
}
void NarrowPhaseInput :: reserveMemory ( ) { mSphereVsSphereBatch . reserveMemory ( ) ; mSphereVsCapsuleBatch . reserveMemory ( ) ; mCapsuleVsCapsuleBatch . reserveMemory ( ) ; mSphereVsConvexPolyhedronBatch . reserveMemory ( ) ; mCapsuleVsConvexPolyhedronBatch . reserveMemory ( ) ; mConvexPolyhedronVsConvexPolyhedronBatch . reserveMemory ( ) ; }
Reserve memory for the containers with cached capacity
Reserve memory for the containers with cached capacity