-
-
Notifications
You must be signed in to change notification settings - Fork 12
struct PermutationTable
Kelvin edited this page Jun 11, 2017
·
2 revisions
An 8-bit permutation table useful for generating pseudo-random hash values.
Permutation tables can be used, among other things, to hash cell noise to produce a Voronoi diagram.
Creates an instance with the given random
seed
containing the values0 ... 255
shuffled in a random order.
Hash a single integer value.
Hash two integer values.
Hash three integer values.