Closed buckle2000 closed 7 years ago
WTF is this? https://github.com/mxgmn/WaveFunctionCollapse/blob/6c1481c2aa42cb443ff44727cdd5c24312d67207/Model.cs#L101
This is an extension method defined in Stuff.cs. It returns a random index of an array according to a probability distribution in that array.
Thanks!
WTF is this? https://github.com/mxgmn/WaveFunctionCollapse/blob/6c1481c2aa42cb443ff44727cdd5c24312d67207/Model.cs#L101