3-Dimentional morton code traits More...
#include <morton_defaults.hh>
Public Types | |
using | morton_type = aether::morton::morton_code< dimension, 21 > |
using | aabb_type = aether::morton::AABB< morton_type > |
using | vector_type = aether::vec3f |
Static Public Member Functions | |
static std::array< int32_t, dimension > | discretize (const vector_type &v, float offset=0.0) |
Convert a floating point. More... | |
Static Public Attributes | |
static constexpr size_t | dimension = 3 |
3-Dimentional morton code traits
using aether::dimension_traits< 3 >::aabb_type = aether::morton::AABB<morton_type> |
using aether::dimension_traits< 3 >::morton_type = aether::morton::morton_code<dimension, 21> |
using aether::dimension_traits< 3 >::vector_type = aether::vec3f |
|
inlinestatic |
Convert a floating point.
v | into an array of discrete position values, with optional |
offset |
|
static |