Fix issue in the broad-phase pair manager
This commit is contained in:
parent
1812402617
commit
d622e2ff17
|
@ -273,7 +273,7 @@ inline BodyPair* PairManager::findPair(bodyindex id1, bodyindex id2) const {
|
||||||
uint hashValue = computeHashBodies(id1, id2) & mHashMask;
|
uint hashValue = computeHashBodies(id1, id2) & mHashMask;
|
||||||
|
|
||||||
// Look for the pair in the set of overlapping pairs
|
// Look for the pair in the set of overlapping pairs
|
||||||
lookForAPair(id1, id2, hashValue);
|
return lookForAPair(id1, id2, hashValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find a pair given two body IDs and an hash value.
|
// Find a pair given two body IDs and an hash value.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user