|
Provides a (psuedo)random number between 0 and n-1. The number is guaranteed to be uniformly distributed and uses the Mersenne Twister algorithm to produce its results.
| n | The upper bound of the (pseudo)random number generated. |
A (pseudo)random number between 0 and n-1.
|
Decodes a single tile/corner selection into separate tile and corner values.
| sel | The combined tile/corner value. |
A std::pair of the separate tile and corner. The first value in the pair is the tile, the second value is the corner.
|
|
|