P-E-R-R-Y
Utilitaires, contrats et vendors du moteur, en une seule doc
Loading...
Searching...
No Matches
WaveFunctionCollapse.hpp File Reference

Tile-based WFC, best-effort. Always returns a grid. On contradiction, the offending constraint is skipped and generation continues. More...

#include <queue>
#include <vector>
#include "Deterministic.hpp"
Include dependency graph for WaveFunctionCollapse.hpp:

Go to the source code of this file.

Classes

class  WaveFunctionCollapse
struct  WaveFunctionCollapse::Rules
 User-defined adjacency rules. Tile IDs are indices 0..neighbors.size()-1. neighbors[t] = list of tile IDs allowed next to tile t (any 4-dir). More...

Detailed Description

Tile-based WFC, best-effort. Always returns a grid. On contradiction, the offending constraint is skipped and generation continues.

Author
Perry Chouteau