Class RenderMath

java.lang.Object
com.jozufozu.flywheel.lib.math.RenderMath

public final class RenderMath extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static float
    f(byte b)
    Convert a signed byte into a signed, normalized float.
    static byte
    nb(float f)
    Convert a signed, normalized float into a signed byte.
    static float
    uf(byte b)
    Convert an unsigned byte into an unsigned, normalized float.
    static byte
    unb(float f)
    Convert an unsigned, normalized float into an unsigned byte.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • f

      public static float f(byte b)
      Convert a signed byte into a signed, normalized float.
    • nb

      public static byte nb(float f)
      Convert a signed, normalized float into a signed byte.
    • uf

      public static float uf(byte b)
      Convert an unsigned byte into an unsigned, normalized float.
    • unb

      public static byte unb(float f)
      Convert an unsigned, normalized float into an unsigned byte.