This is the documentation for Enlighten.
struct Geo MortonComponent6
struct Geo::MortonComponent6
A 6D morton code unpacked into components for efficient computation of offset and min/max.
Typedefs
Name | Description |
|---|---|
Morton< 6 > Packed | A 6D morton code. |
Variables
Name | Description |
|---|---|
Packed::Component< 3 > U | U. |
Packed::Component< 4 > V | V. |
Packed::Component< 5 > W | W. |
Packed::Component< 0 > X | X. |
Packed::Component< 1 > Y | Y. |
Packed::Component< 2 > Z | Z. |
Functions
Name | Description |
|---|---|
MortonComponent6(Geo::u32, Geo::u32, Geo::u32, Geo::u32, Geo::u32, Geo::u32) | Constructor. |
Constructor. | |
Constructor. | |
Subtract a single constant from all components. | |
Add a set of constants to all components. | |
Implicit conversion to morton code. | |
Add a single constant to all components. | |
Add a set of constants to all components. |
Friends
Name | Description |
|---|---|
friend MortonComponent6 Unpack(Packed packed) | Return the unpacked components for the given morton code. |
Geo::MortonComponent6::MortonComponent6
public: MortonComponent6
(
Geo::u32 x,
Geo::u32 y,
Geo::u32 z,
Geo::u32 u,
Geo::u32 v,
Geo::u32 w
)
Constructor.