Crate wfc_voxel

Source

Structs§

NodeSet
Contains mapping to all Nodes and asset bit masks. Nodes contain rules and metadata for each asset rotation.
Solver
Solver for the Wave Function Collapse Algorithm.

Statics§

NEG_X
NEG_Y
NEG_Z
POS_X
POS_Y
POS_Z

Functions§

collapse_x_axis
Collapses an area on the X axis of a map based by forcing the neighbors of cells in the specified area.
collapse_y_axis
Collapses an area on the Y axis of a map based by forcing the neighbors of cells in the specified area.
collapse_z_axis
Collapses an area on the Z axis of a map based by forcing the neighbors of cells in the specified area.
constrain_x_axis
Constrains the entire X axis of a map to the supplied bits.
constrain_y_axis
Constrains the entire Y axis of a map to the supplied bits.
constrain_z_axis
Constrains the entire Z axis of a map to the supplied bits.