Remove TODO
This commit is contained in:
parent
3058111172
commit
9f436cdc20
|
@ -277,7 +277,6 @@ void CollisionDetectionSystem::updateOverlappingPairs(const Array<Pair<int32, in
|
||||||
if (isBody1Active || isBody2Active) {
|
if (isBody1Active || isBody2Active) {
|
||||||
|
|
||||||
// Check if the bodies are in the set of bodies that cannot collide between each other
|
// Check if the bodies are in the set of bodies that cannot collide between each other
|
||||||
// TODO OPTI : What not use the pairId here ??
|
|
||||||
const bodypair bodiesIndex = OverlappingPairs::computeBodiesIndexPair(body1Entity, body2Entity);
|
const bodypair bodiesIndex = OverlappingPairs::computeBodiesIndexPair(body1Entity, body2Entity);
|
||||||
if (!mNoCollisionPairs.contains(bodiesIndex)) {
|
if (!mNoCollisionPairs.contains(bodiesIndex)) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user