Revert "Work on using a bitfield to set up chunk key."

This reverts commit 8bd8f8ba7a.
This commit is contained in:
David Williams
2015-03-21 14:41:10 +01:00
parent 5fc0317260
commit 672c375a7a
3 changed files with 23 additions and 54 deletions

View File

@ -30,14 +30,6 @@ freely, subject to the following restrictions:
namespace PolyVox
{
// Cast any type to any other type with no safety checks.
// Should only be used if you really know what you are doing!
template<typename to, typename from>
inline to force_cast(from input)
{
return *(reinterpret_cast<to*>(&input));
}
inline bool isPowerOf2(uint32_t uInput)
{
if (uInput == 0)