Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder3D ¶
type Encoder3D struct {
// Bounds define the space that will be mapped to Morton codes
Bounds geometry.AABB
// Resolution determines the precision of the encoding (number of bits per dimension)
Resolution uint
}
Encoder3D provides 3D Morton encoding/decoding functionality for float64 coordinates
func (*Encoder3D) DecodeArray ¶
Decode converts a Morton code back to a 3D float64 point
Click to show internal directories.
Click to hide internal directories.