PolyVox  0.3.0-dev
Open source voxel management library
Namespaces | Functions
Utility.h File Reference
#include "PolyVoxCore/Impl/TypeDef.h"

Go to the source code of this file.

Namespaces

namespace  PolyVox
 Main namespace.
 

Functions

POLYVOX_API uint8_t PolyVox::logBase2 (uint32_t uInput)
 
POLYVOX_API bool PolyVox::isPowerOf2 (uint32_t uInput)
 
int32_t PolyVox::roundTowardsNegInf (float r)
 
int32_t PolyVox::roundToInteger (float r)
 
template<typename Type >
Type PolyVox::clamp (const Type &value, const Type &low, const Type &high)
 
int32_t PolyVox::roundToNearestInteger (float r)