Crate wfc_voxel

source ·

Structs

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

Statics

Functions

  • Collapses an area on the X axis of a map based by forcing the neighbors of cells in the specified area.
  • Collapses an area on the Y axis of a map based by forcing the neighbors of cells in the specified area.
  • Collapses an area on the Z axis of a map based by forcing the neighbors of cells in the specified area.
  • Constrains the entire X axis of a map to the supplied bits.
  • Constrains the entire Y axis of a map to the supplied bits.
  • Constrains the entire Z axis of a map to the supplied bits.