Package org.jbox2d.tests.math
Class SinCosTable
java.lang.Object
org.jbox2d.tests.math.SinCosTable
public class SinCosTable
extends java.lang.Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
final float
final float[]
final int
static final float
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
TWOPI
public static final float TWOPI- See Also:
-
LERP_LOOKUP
public static boolean LERP_LOOKUP -
precision
public final float precision -
tableLength
public final int tableLength -
sinLUT
public final float[] sinLUT
-
-
Constructor Details
-
SinCosTable
public SinCosTable(float argPrecision)
-
-
Method Details
-
sin
public final float sin(float x)
-