public class VecDeltaCodec
extends Object
-
Field Summary
Fields
private static final double
-
Constructor Summary
Constructors
-
Method Summary
(package private) static double
decode(long pX,
long pY,
long pZ)
(package private) static long
long
long
long
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
TRUNCATION_STEPS
private static final double TRUNCATION_STEPS
- See Also:
-
-
-
Constructor Details
-
VecDeltaCodec
public VecDeltaCodec()
-
Method Details
-
encode
@VisibleForTesting
static long encode(double pValue)
-
decode
@VisibleForTesting
static double decode(long pValue)
-
decode
public Vec3 decode(long pX,
long pY,
long pZ)
-
encodeX
public long encodeX(Vec3 pValue)
-
encodeY
public long encodeY(Vec3 pValue)
-
encodeZ
public long encodeZ(Vec3 pValue)
-
-
setBase
public void setBase(Vec3 pBase)
-