public class PermPointHash extends IPointHash.IntImpl
(((...) - state ^ 0xD1B54A35) * 0x125493 + state ^ 0xD1B54A35) * 0x125493;, which also pushes the usable bits
up throughout the returned int, instead of just in the lowest 11 bits.
IPointHash.IntImpl, IPointHash.LongImplstate| Constructor and Description |
|---|
PermPointHash() |
PermPointHash(int state) |
| Modifier and Type | Method and Description |
|---|---|
int |
getState() |
int |
hashWithState(int x,
int y,
int state) |
int |
hashWithState(int x,
int y,
int z,
int state) |
int |
hashWithState(int x,
int y,
int z,
int w,
int state) |
int |
hashWithState(int x,
int y,
int z,
int w,
int u,
int state) |
int |
hashWithState(int x,
int y,
int z,
int w,
int u,
int v,
int state) |
public PermPointHash()
public PermPointHash(int state)
public int getState()
public int hashWithState(int x,
int y,
int state)
public int hashWithState(int x,
int y,
int z,
int state)
public int hashWithState(int x,
int y,
int z,
int w,
int state)
public int hashWithState(int x,
int y,
int z,
int w,
int u,
int state)
public int hashWithState(int x,
int y,
int z,
int w,
int u,
int v,
int state)
Copyright © Eben Howard 2012–2022. All rights reserved.