Module planetkit::grid [] [src]

Modules

cell_shape

Facts about the geometry and topology of hexagons, and portions thereof, with respect to their use in a globe voxmap. These hexagonal portions are analogous to circular sectors, and are used in rendering the edges and corners of chunks where a full hexagon will not fit.

Structs

Dir
EquivalentPoints

Iterator over points in all roots that are equivalent to the given point.

GridPoint2
GridPoint3
Neighbors
PosInOwningRoot

Wrapper type around a GridPoint3 that is known to be expressed in its owning root quad.

Root

Statics

ROOTS

Functions

random_column

Generate a random column on the globe.

semi_arbitrary_compare

Compare by root, z, y, then x.

Type Definitions

DirIndex
GridCoord
RootIndex