Cleaned up and pulled out some code into Map.cpp in order to start working on the meat of the *Correct* voxel traversal method as explained in the paper.
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
#include <string>
|
||||
#include <imgui/imgui.h>
|
||||
#include <cmath>
|
||||
#include <SFML/Graphics/Texture.hpp>
|
||||
#include <algorithm>
|
||||
#include <tuple>
|
||||
|
||||
const double PI = 3.141592653589793238463;
|
||||
const float PI_F = 3.14159265358979f;
|
||||
@@ -250,8 +253,6 @@ inline bool CheckContiguousValid(const uint64_t c) {
|
||||
return (c & bitmask) == bitmask;
|
||||
}
|
||||
|
||||
|
||||
|
||||
inline bool IsLeaf(const uint64_t descriptor) {
|
||||
|
||||
uint64_t leaf_mask = 0xFF000000;
|
||||
|
||||
Reference in New Issue
Block a user