Searched refs:INV_TWO_PI (Results 1 – 3 of 3) sorted by relevance
135 int n = (int) (x * FastMath.INV_TWO_PI);140 return x * FastMath.INV_TWO_PI;147 …- 2.0f * FastMath.abs((float) Math.floor(x * FastMath.INV_TWO_PI + 0.5f) - x * FastMath.INV_TWO_PI…
102 return (float) Math.atan2(y, x) * FastMath.INV_TWO_PI + 0.5f;
65 public static final float INV_TWO_PI = 1.0f / TWO_PI; field in FastMath