src/engine/OverlappingPairs.cpp
void OverlappingPairs::clearObsoleteLastFrameCollisionInfos() {

    RP3D_PROFILE("OverlappingPairs::clearObsoleteLastFrameCollisionInfos()", mProfiler);

    // For each concave overlapping pair
    const uint64 nbConcavePairs = mConcavePairs.size();
    for (uint64 i=0; i < nbConcavePairs; i++) {

        mConcavePairs[i].clearObsoleteLastFrameInfos();
    }
}
// Delete all the obsolete last frame collision info
Delete all the obsolete last frame collision info
Delete all the obsolete last frame collision info
void OverlappingPairs::clearObsoleteLastFrameCollisionInfos() {
    RP3D_PROFILE("OverlappingPairs::clearObsoleteLastFrameCollisionInfos()", mProfiler);
    const uint64 nbConcavePairs = mConcavePairs.size();
    for (uint64 i=0; i < nbConcavePairs; i++) {
        mConcavePairs[i].clearObsoleteLastFrameInfos();
    }
}
void OverlappingPairs :: clearObsoleteLastFrameCollisionInfos ( ) { RP3D_PROFILE ( " " , mProfiler ) ; const uint64 nbConcavePairs = mConcavePairs . size ( ) ; for ( uint64 i = 0 ; i < nbConcavePairs ; i ++ ) { mConcavePairs [ i ] . clearObsoleteLastFrameInfos ( ) ; } }
Delete all the obsolete last frame collision info
Delete all the obsolete last frame collision info
// For each concave overlapping pair