subdgtl / WFC

Prototype tools for playing with Wave Function Collapse
The Unlicense
5 stars 1 forks source link

Make wfc_rng_state_init sane #27

Open yanchith opened 2 years ago

yanchith commented 2 years ago

Instead of requiring 128 bits of seed, require just 64, and use them to create a 128-bit seed internally (can use oorandom::Rand32 for that - it has a 64-bit seed). Also, because there will be just the one seed in the function signature, make that seed have native endiannes.