Home
last modified time | relevance | path

Searched refs:INV_TWO_PI (Results 1 – 3 of 3) sorted by relevance

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DTextureGeneratorWood.java135 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
DTextureGeneratorBlend.java102 return (float) Math.atan2(y, x) * FastMath.INV_TWO_PI + 0.5f;
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DFastMath.java65 public static final float INV_TWO_PI = 1.0f / TWO_PI; field in FastMath