public final class FastMath
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static float[] |
atan2 |
private static int |
ATAN2_BITS |
private static int |
ATAN2_BITS2 |
private static int |
ATAN2_COUNT |
private static int |
ATAN2_DIM |
private static int |
ATAN2_MASK |
private static float |
DEG |
private static float |
INV_ATAN2_DIM_MINUS_1 |
Modifier | Constructor and Description |
---|---|
private |
FastMath()
Private constructor to prevent object creation.
|
Modifier and Type | Method and Description |
---|---|
static float |
atan2(float y,
float x)
Get a tan in radians.
|
static float |
atan2Deg(float y,
float x)
Get a tan in degrees.
|
static float |
atan2DegStrict(float y,
float x)
Get a tan in degrees strict.
|
private static final int ATAN2_BITS
private static final int ATAN2_BITS2
private static final int ATAN2_MASK
private static final int ATAN2_COUNT
private static final float[] atan2
private static final int ATAN2_DIM
private static final float DEG
private static final float INV_ATAN2_DIM_MINUS_1
public static final float atan2(float y, float x)
y
- Y parameter.x
- X parameter.public static final float atan2Deg(float y, float x)
y
- Y parameter.x
- X parameter.public static final float atan2DegStrict(float y, float x)
y
- Y parameter.x
- X parameter.