public class ZoneKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ZoneGrid |
grid |
com.simsilica.mathd.Vec3i |
origin |
int |
x |
int |
y |
int |
z |
Constructor and Description |
---|
ZoneKey(ZoneGrid grid,
int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
com.simsilica.mathd.Vec3d |
toLocal(com.simsilica.mathd.Vec3d world) |
com.simsilica.mathd.Vec3d |
toLocal(com.simsilica.mathd.Vec3d world,
com.simsilica.mathd.Vec3d store) |
long |
toLongId() |
java.lang.String |
toString() |
com.simsilica.mathd.Vec3d |
toWorld(com.simsilica.mathd.Vec3d relative) |
com.simsilica.mathd.Vec3d |
toWorld(com.simsilica.mathd.Vec3d relative,
com.simsilica.mathd.Vec3d store) |
public ZoneGrid grid
public int x
public int y
public int z
public com.simsilica.mathd.Vec3i origin
public ZoneKey(ZoneGrid grid, int x, int y, int z)
public com.simsilica.mathd.Vec3d toWorld(com.simsilica.mathd.Vec3d relative)
public com.simsilica.mathd.Vec3d toWorld(com.simsilica.mathd.Vec3d relative, com.simsilica.mathd.Vec3d store)
public com.simsilica.mathd.Vec3d toLocal(com.simsilica.mathd.Vec3d world)
public com.simsilica.mathd.Vec3d toLocal(com.simsilica.mathd.Vec3d world, com.simsilica.mathd.Vec3d store)
public long toLongId()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object