HomeSort by relevance Sort by last modified time
    Searched refs:SINCOS_LUT_PRECISION (Results 1 - 2 of 2) sorted by null

  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/
Settings.java 71 public static final float SINCOS_LUT_PRECISION = .00011f;
72 public static final int SINCOS_LUT_LENGTH = (int) Math.ceil(Math.PI * 2 / SINCOS_LUT_PRECISION);
MathUtils.java 76 sinLUT[i] = (float) Math.sin(i * Settings.SINCOS_LUT_PRECISION);
97 x /= Settings.SINCOS_LUT_PRECISION;
113 return sinLUT[MathUtils.round(x / Settings.SINCOS_LUT_PRECISION) % Settings.SINCOS_LUT_LENGTH];

Completed in 568 milliseconds