1 #ifndef TIL_MISC_SORT_H_ 2 #define TIL_MISC_SORT_H_ 14 template <
typename TVector2D,
typename T >
20 template <
typename TVector3D,
typename T >
27 template <
typename TVector3D >
34 template <
typename T >
std::pair< T, T > make_sorted_pair(T a, T b)
Return (a, b) if a >= b, (b, a) else.
Belongs to package Box Do not include directly, include til/Box.h instead.
TVector2D sortedVector(T a, T b)
returns vector (x, y) with x <= y
TVector3D sorted_vector(T a, T b, T c)