Home
last modified time | relevance | path

Searched refs:keycontacts (Results 1 – 2 of 2) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
Dgim_contact.cpp46 gim_array<GIM_RSORT_TOKEN> keycontacts(contacts.size()); in merge_contacts() local
47 keycontacts.resize(contacts.size(),false); in merge_contacts()
55 keycontacts[i].m_key = contacts[i].calc_key_contact(); in merge_contacts()
56 keycontacts[i].m_value = i; in merge_contacts()
60 gim_heap_sort(keycontacts.pointer(),keycontacts.size(),GIM_RSORT_TOKEN_COMPARATOR()); in merge_contacts()
67 GUINT last_key = keycontacts[0].m_key; in merge_contacts()
70 push_back(contacts[keycontacts[0].m_value]); in merge_contacts()
75 for( i=1;i<keycontacts.size();i++) in merge_contacts()
77 key = keycontacts[i].m_key; in merge_contacts()
78 const GIM_CONTACT * scontact = &contacts[keycontacts[i].m_value]; in merge_contacts()
DbtContactProcessing.cpp83 btAlignedObjectArray<CONTACT_KEY_TOKEN> keycontacts; in merge_contacts() local
85 keycontacts.reserve(contacts.size()); in merge_contacts()
91 keycontacts.push_back(CONTACT_KEY_TOKEN(contacts[i].calc_key_contact(),i)); in merge_contacts()
95 keycontacts.quickSort(CONTACT_KEY_TOKEN_COMP()); in merge_contacts()
101 unsigned int last_key = keycontacts[0].m_key; in merge_contacts()
104 push_back(contacts[keycontacts[0].m_value]); in merge_contacts()
108 for( i=1;i<keycontacts.size();i++) in merge_contacts()
110 key = keycontacts[i].m_key; in merge_contacts()
111 const GIM_CONTACT * scontact = &contacts[keycontacts[i].m_value]; in merge_contacts()