MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / quickSort

Method quickSort

src/LinearMath/btAlignedObjectArray.h:341–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339
340 template <typename L>
341 void quickSort(const L& CompareFunc)
342 {
343 //don't sort 0 or 1 elements
344 if (size() > 1)
345 {
346 quickSortInternal(CompareFunc, 0, size() - 1);
347 }
348 }
349
350 ///heap sort from http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Sort/Heap/
351 template <typename L>

Callers 10

sortChullsMethod · 0.45
boundSearchTestFunction · 0.45
computeMethod · 0.45
renderSceneInternalMethod · 0.45
ConvertURDF2BulletFunction · 0.45
initPhysicsMethod · 0.45
rateEvaluationsMethod · 0.45
stepSimulationMethod · 0.45
URDF2PhysXFunction · 0.45

Calls 1

sizeFunction · 0.50

Tested by

no test coverage detected