public class VecDeltaCodec
extends Object
-
Field Summary
Fields
private static final double
-
Constructor Summary
Constructors
-
Method Summary
(package private) static double
decode(long x,
long y,
long z)
(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 value)
-
decode
@VisibleForTesting
static double decode(long value)
-
decode
public Vec3 decode(long x,
long y,
long z)
-
encodeX
public long encodeX(Vec3 value)
-
encodeY
public long encodeY(Vec3 value)
-
encodeZ
public long encodeZ(Vec3 value)
-
-
setBase
public void setBase(Vec3 base)
-