Add rstl::binary_find

Including CAnimData::GetBoundingBox


Former-commit-id: e4a864880b
This commit is contained in:
Henrique Gemignani Passos Lima
2022-12-05 23:35:31 +02:00
parent b29e5337fc
commit d86009a79d
19 changed files with 232 additions and 87 deletions

View File

@@ -0,0 +1,18 @@
#ifndef _RSTL_FUNCTIONAL
#define _RSTL_FUNCTIONAL
namespace rstl {
template < typename P >
struct identity {
const P& operator()(const P& it) const { return it; }
};
template < typename T >
struct less {
bool operator()(const T& a, const T& b) const { return a < b; }
};
} // namespace rstl
#endif // _RSTL_FUNCTIONAL