Refactoring the generation code to the octree, working on the memory management of the various buffers and trunk

This commit is contained in:
MitchellHansen
2017-06-29 03:29:36 -07:00
parent 32e58d516a
commit 3596c9094c
4 changed files with 170 additions and 31 deletions

View File

@@ -50,18 +50,6 @@ private:
};
struct oct_state {
int parent_stack_position = 0;
uint64_t parent_stack[32] = { 0 };
uint8_t scale = 0;
uint8_t idx_stack[32] = { 0 };
uint64_t current_descriptor;
};
inline sf::Vector3f SphereToCart(sf::Vector2f i) {
auto r = sf::Vector3f(