Class SinCosTable

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

public class SinCosTable extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     
    final float
     
    final float[]
     
    final int
     
    static final float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SinCosTable(float argPrecision)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final float
    sin(float x)
     

    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)