Class ImageUtils

java.lang.Object
net.lenni0451.imnbt.utils.ImageUtils

public class ImageUtils extends Object
  • Constructor Details

    • ImageUtils

      public ImageUtils()
  • Method Details

    • calculateUV

      public static float calculateUV(int textureSize, int pos)
      Calculate the UV for a texture.
      Parameters:
      textureSize - The size of the texture
      pos - The pixel position
      Returns:
      The UV