Added utility function for people who already have data in linear order, to convert it to Morton order.
This commit is contained in:
@ -133,6 +133,8 @@ namespace PolyVox
|
||||
void setVoxel(uint32_t uXPos, uint32_t uYPos, uint32_t uZPos, VoxelType tValue);
|
||||
void setVoxel(const Vector3DUint16& v3dPos, VoxelType tValue);
|
||||
|
||||
void changeLinearOrderingToMorton(void);
|
||||
|
||||
private:
|
||||
/// Private copy constructor to prevent accisdental copying
|
||||
Chunk(const Chunk& /*rhs*/) {};
|
||||
|
Reference in New Issue
Block a user