Linux build working again, removed the GL_Testing stuff, I'm going to move to Vulkan eventually. Got voxel search working mostly with the new octree changes. Issue with mirroring of voxel data currently

This commit is contained in:
2017-07-02 12:36:25 -07:00
parent 04842dd597
commit 5e9401cd27
11 changed files with 72 additions and 303 deletions

View File

@@ -24,7 +24,6 @@ public:
static const int buffer_size = 100000;
Octree();
~Octree() {};
@@ -56,10 +55,12 @@ public:
// With a position and the head of the stack. Traverse down the voxel hierarchy to find
// the IDX and stack position of the highest resolution (maybe set resolution?) oct
bool get_voxel(sf::Vector3i position);
bool GetVoxel(sf::Vector3i position);
void print_block(int block_pos);
bool Validate(char* data, sf::Vector3i dimensions);
private:
std::tuple<uint64_t, uint64_t> GenerationRecursion(