![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
#include <Jolt/Core/InsertionSort.h>Go to the source code of this file.
Functions | |
| template<typename Iterator , typename Compare > | |
| JPH_NAMESPACE_BEGIN void | QuickSortMedianOfThree (Iterator inFirst, Iterator inMiddle, Iterator inLast, Compare inCompare) |
| Helper function for QuickSort, will move the pivot element to inMiddle. | |
| template<typename Iterator , typename Compare > | |
| void | QuickSortNinther (Iterator inFirst, Iterator inMiddle, Iterator inLast, Compare inCompare) |
| Helper function for QuickSort using the Ninther method, will move the pivot element to inMiddle. | |
| template<typename Iterator , typename Compare > | |
| void | QuickSort (Iterator inBegin, Iterator inEnd, Compare inCompare) |
| Implementation of the quick sort algorithm. The STL version implementation is not consistent across platforms. | |
| template<typename Iterator > | |
| void | QuickSort (Iterator inBegin, Iterator inEnd) |
| Implementation of quick sort algorithm without comparator. | |
Implementation of quick sort algorithm without comparator.
Implementation of the quick sort algorithm. The STL version implementation is not consistent across platforms.
|
inline |
Helper function for QuickSort, will move the pivot element to inMiddle.