edu.uprm.ece.terrainrenderer
Class Utils

java.lang.Object
  extended by edu.uprm.ece.terrainrenderer.Utils

public class Utils
extends java.lang.Object


Constructor Summary
Utils()
           
 
Method Summary
static float byteArrayToFloat(byte[] buffer)
           
static int byteArrayToInt(byte[] buffer)
           
static short byteArrayToShort(byte[] buffer)
           
static float intArrayToFloat(int[] buffer)
           
static int intArrayToInt(int[] buffer)
           
static int unsignedByteToInt(byte b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

unsignedByteToInt

public static int unsignedByteToInt(byte b)

byteArrayToInt

public static int byteArrayToInt(byte[] buffer)

intArrayToInt

public static int intArrayToInt(int[] buffer)

intArrayToFloat

public static float intArrayToFloat(int[] buffer)

byteArrayToFloat

public static float byteArrayToFloat(byte[] buffer)

byteArrayToShort

public static short byteArrayToShort(byte[] buffer)