org.jbox2d.tests.math
Class SinCosTable

java.lang.Object
  extended by org.jbox2d.tests.math.SinCosTable

public class SinCosTable
extends java.lang.Object


Field Summary
static boolean LERP_LOOKUP
           
 float precision
           
 float[] sinLUT
           
 int tableLength
           
static float TWOPI
           
 
Constructor Summary
SinCosTable(float argPrecision)
           
 
Method Summary
 float sin(float x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TWOPI

public static final float TWOPI
See Also:
Constant Field Values

LERP_LOOKUP

public static boolean LERP_LOOKUP

precision

public final float precision

tableLength

public final int tableLength

sinLUT

public final float[] sinLUT
Constructor Detail

SinCosTable

public SinCosTable(float argPrecision)
Method Detail

sin

public final float sin(float x)


Copyright © 2013. All Rights Reserved.