public class VecDeltaCodec
extends Object
-
Field Summary
Fields
private static final double
-
Constructor Summary
Constructors
-
Method Summary
(package private) static double
decode(long p_238022_,
long p_238023_,
long p_238024_)
(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 p_238018_)
-
decode
@VisibleForTesting
static double decode(long p_238020_)
-
decode
public Vec3 decode(long p_238022_,
long p_238023_,
long p_238024_)
-
encodeX
public long encodeX(Vec3 p_238026_)
-
encodeY
public long encodeY(Vec3 p_238028_)
-
encodeZ
public long encodeZ(Vec3 p_238030_)
-
-
setBase
public void setBase(Vec3 p_238034_)