Package com.jozufozu.flywheel.light
Class LightPacking
java.lang.Object
com.jozufozu.flywheel.light.LightPacking
Utility class for bit-twiddling light.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetBlock(byte packed) static intgetBlock(short packed) static intgetSky(byte packed) static intgetSky(short packed) static bytepackLightNibbles(byte block, byte sky)
-
Constructor Details
-
LightPacking
public LightPacking()
-
-
Method Details
-
getBlock
public static int getBlock(short packed) -
getSky
public static int getSky(short packed) -
packLightNibbles
public static byte packLightNibbles(byte block, byte sky) -
getBlock
public static int getBlock(byte packed) -
getSky
public static int getSky(byte packed)
-