Package | Description |
---|---|
squidpony.squidmath |
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
|
Modifier and Type | Class and Description |
---|---|
static class |
FlawedPointHash.FNVHash
FNV32a is OK as a hash for bytes when used in some hash tables, but it has major issues on its low-order bits
when used as a point hash (the high bits aren't much better).
|
class |
GoldPointHash
A relatively simple
IPointHash that multiplies each of the x, y, etc. |
class |
IntPointHash
A group of similar methods for getting hashes of points based on int coordinates in 2, 3, 4, or 6 dimensions and
an int for state; the code is similar to
HastyPointHash but will be much faster on GWT. |
class |
KnownSizePointHash
A very simple point hash meant only for fixed-size grids, and only for when the hash must be unique but does
not need to be randomized.
|
class |
PermPointHash
A mid-to-low quality point hash that uses a similar (not identical) technique to what OpenSimplex2 uses, with
a permutation array created at construction.
|
class |
TabularPointHash
Just another experiment with precomputed point hashes.
|
class |
TorusCachePointHash
A group of similar methods for getting hashes of points based on int coordinates in 2, 3, 4, 5, or 6 dimensions and
an int for state; here, points are considered toroidally wrapping, where the wrap happens at a power of two that is
no greater than 1024.
|
Copyright © Eben Howard 2012–2022. All rights reserved.