skadistats.clarity.io.decoder.FloatCoordMpDecoder Maven / Gradle / Ivy
package skadistats.clarity.io.decoder;
import skadistats.clarity.io.bitstream.BitStream;
public class FloatCoordMpDecoder implements Decoder {
private final boolean integral;
private final boolean lowPrecision;
public FloatCoordMpDecoder(boolean integral, boolean lowPrecision) {
this.integral = integral;
this.lowPrecision = lowPrecision;
}
@Override
public Float decode(BitStream bs) {
return bs.readCoordMp(bs, integral, lowPrecision);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy