Eliminating some differences from the cubiquity-version branch.

This commit is contained in:
Daviw Williams
2014-02-25 16:51:26 +01:00
parent 0e8973e722
commit 2458f94feb
4 changed files with 19 additions and 2 deletions

View File

@ -37,6 +37,7 @@ namespace PolyVox
int32_t roundToInteger(float r);
template <typename Type>
Type clamp(const Type& value, const Type& low, const Type& high);
uint32_t upperPowerOfTwo(uint32_t v);
inline int32_t roundTowardsNegInf(float r)
{