Lines Matching refs:indexB
64 btSimplePair* btHashedSimplePairCache::findPair(int indexA, int indexB)
69 /*if (indexA > indexB)
70 btSwap(indexA, indexB);*/
72 int hash = static_cast<int>(getHash(static_cast<unsigned int>(indexA), static_cast<unsigned int>(indexB)) & (m_overlappingPairArray.capacity()-1));
80 while (index != BT_SIMPLE_NULL_PAIR && equalsPair(m_overlappingPairArray[index], indexA, indexB) == false)
127 int indexB = pair.m_indexB;
129 int hashValue = static_cast<int>(getHash(static_cast<unsigned int>(indexA),static_cast<unsigned int>(indexB)) & (m_overlappingPairArray.capacity()-1)); // New hash value with new mask
138 btSimplePair* btHashedSimplePairCache::internalAddPair(int indexA, int indexB)
141 int hash = static_cast<int>(getHash(static_cast<unsigned int>(indexA),static_cast<unsigned int>(indexB)) & (m_overlappingPairArray.capacity()-1)); // New hash value with new mask
144 btSimplePair* pair = internalFindPair(indexA, indexB, hash);
160 hash = static_cast<int>(getHash(static_cast<unsigned int>(indexA),static_cast<unsigned int>(indexB)) & (m_overlappingPairArray.capacity()-1));
163 pair = new (mem) btSimplePair(indexA,indexB);
175 void* btHashedSimplePairCache::removeOverlappingPair(int indexA, int indexB)
180 /*if (indexA > indexB)
181 btSwap(indexA, indexB);*/
183 int hash = static_cast<int>(getHash(static_cast<unsigned int>(indexA),static_cast<unsigned int>(indexB)) & (m_overlappingPairArray.capacity()-1));
185 btSimplePair* pair = internalFindPair(indexA, indexB, hash);