It appears that the new generation algorithm works well. The tree structure is intact and the relative pointers look correct. I'll write a validator when I get a chance
This commit is contained in:
@@ -24,8 +24,6 @@ public:
|
||||
|
||||
Map(uint32_t dimensions);
|
||||
|
||||
void dump_logs();
|
||||
|
||||
void setVoxel(sf::Vector3i position, int val);
|
||||
|
||||
bool getVoxelFromOctree(sf::Vector3i position);
|
||||
@@ -44,9 +42,6 @@ private:
|
||||
|
||||
void generate_octree(unsigned int dimensions);
|
||||
|
||||
// Generate children is the main recursive function
|
||||
uint64_t generate_children(sf::Vector3i pos, int dim);
|
||||
|
||||
char* voxel_data;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user