Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
InsertionSort.h File Reference

Go to the source code of this file.

Functions

template<typename Iterator , typename Compare >
JPH_NAMESPACE_BEGIN void InsertionSort (Iterator inBegin, Iterator inEnd, Compare inCompare)
 Implementation of the insertion sort algorithm.
 
template<typename Iterator >
void InsertionSort (Iterator inBegin, Iterator inEnd)
 Implementation of insertion sort algorithm without comparator.
 

Function Documentation

◆ InsertionSort() [1/2]

template<typename Iterator >
void InsertionSort ( Iterator  inBegin,
Iterator  inEnd 
)
inline

Implementation of insertion sort algorithm without comparator.

◆ InsertionSort() [2/2]

template<typename Iterator , typename Compare >
JPH_NAMESPACE_BEGIN void InsertionSort ( Iterator  inBegin,
Iterator  inEnd,
Compare  inCompare 
)
inline

Implementation of the insertion sort algorithm.