Package org.joml
Class Math
java.lang.Object
org.joml.Math
public class Math
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static double
PI
-
Constructor Summary
Constructors Constructor Description Math()
-
Method Summary
Modifier and Type Method Description static double
abs(double double1)
static float
abs(float float1)
static int
abs(int int1)
static double
acos(double double1)
static float
acos(float float1)
static double
asin(double double1)
static float
asin(float float1)
static double
atan2(double double1, double double2)
static float
atan2(float float1, float float2)
static double
biLerp(double double1, double double2, double double3, double double4, double double5, double double6)
static float
biLerp(float float1, float float2, float float3, float float4, float float5, float float6)
static double
ceil(double double1)
static float
ceil(float float1)
static double
clamp(double double1, double double2, double double3)
static float
clamp(float float1, float float2, float float3)
static int
clamp(int int1, int int2, int int3)
static double
cos(double double1)
static float
cos(float float1)
static double
cosFromSin(double double1, double double2)
static float
cosFromSin(float float1, float float2)
static double
exp(double double1)
static double
floor(double double1)
static float
floor(float float1)
static double
fma(double double1, double double2, double double3)
static float
fma(float float1, float float2, float float3)
static double
invsqrt(double double1)
static float
invsqrt(float float1)
static boolean
isFinite(double double1)
static boolean
isFinite(float float1)
static double
lerp(double double1, double double2, double double3)
static float
lerp(float float1, float float2, float float3)
static double
max(double double1, double double2)
static float
max(float float1, float float2)
static int
max(int int1, int int2)
static double
min(double double1, double double2)
static float
min(float float1, float float2)
static int
min(int int1, int int2)
static double
random()
static long
round(double double1)
static int
round(float float1)
static int
roundHalfDown(double double1)
static int
roundHalfDown(float float1)
static int
roundHalfEven(double double1)
static int
roundHalfEven(float float1)
static int
roundHalfUp(double double1)
static int
roundHalfUp(float float1)
static int
roundUsing(double double1, int int1)
static int
roundUsing(float float1, int int1)
static double
safeAcos(double double1)
static float
safeAcos(float float1)
static double
safeAsin(double double1)
static float
safeAsin(float float1)
static double
signum(double double1)
static float
signum(float float1)
static int
signum(int int1)
static int
signum(long long1)
static double
sin(double double1)
static float
sin(float float1)
static double
sqrt(double double1)
static float
sqrt(float float1)
static double
tan(double double1)
static float
tan(float float1)
static double
toDegrees(double double1)
static double
toRadians(double double1)
static float
toRadians(float float1)
static double
triLerp(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11)
static float
triLerp(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
PI
public static final double PI- See Also:
- Constant Field Values
-
-
Constructor Details
-
Math
public Math()
-
-
Method Details
-
sin
public static float sin(float float1) -
sin
public static double sin(double double1) -
cos
public static float cos(float float1) -
cos
public static double cos(double double1) -
cosFromSin
public static float cosFromSin(float float1, float float2) -
cosFromSin
public static double cosFromSin(double double1, double double2) -
sqrt
public static float sqrt(float float1) -
sqrt
public static double sqrt(double double1) -
invsqrt
public static float invsqrt(float float1) -
invsqrt
public static double invsqrt(double double1) -
tan
public static float tan(float float1) -
tan
public static double tan(double double1) -
acos
public static float acos(float float1) -
acos
public static double acos(double double1) -
safeAcos
public static float safeAcos(float float1) -
safeAcos
public static double safeAcos(double double1) -
atan2
public static float atan2(float float1, float float2) -
atan2
public static double atan2(double double1, double double2) -
asin
public static float asin(float float1) -
asin
public static double asin(double double1) -
safeAsin
public static float safeAsin(float float1) -
safeAsin
public static double safeAsin(double double1) -
abs
public static float abs(float float1) -
abs
public static double abs(double double1) -
abs
public static int abs(int int1) -
max
public static int max(int int1, int int2) -
min
public static int min(int int1, int int2) -
min
public static double min(double double1, double double2) -
min
public static float min(float float1, float float2) -
max
public static float max(float float1, float float2) -
max
public static double max(double double1, double double2) -
clamp
public static float clamp(float float1, float float2, float float3) -
clamp
public static double clamp(double double1, double double2, double double3) -
clamp
public static int clamp(int int1, int int2, int int3) -
toRadians
public static float toRadians(float float1) -
toRadians
public static double toRadians(double double1) -
toDegrees
public static double toDegrees(double double1) -
floor
public static double floor(double double1) -
floor
public static float floor(float float1) -
ceil
public static double ceil(double double1) -
ceil
public static float ceil(float float1) -
round
public static long round(double double1) -
round
public static int round(float float1) -
exp
public static double exp(double double1) -
isFinite
public static boolean isFinite(double double1) -
isFinite
public static boolean isFinite(float float1) -
fma
public static float fma(float float1, float float2, float float3) -
fma
public static double fma(double double1, double double2, double double3) -
roundUsing
public static int roundUsing(float float1, int int1) -
roundUsing
public static int roundUsing(double double1, int int1) -
lerp
public static float lerp(float float1, float float2, float float3) -
lerp
public static double lerp(double double1, double double2, double double3) -
biLerp
public static float biLerp(float float1, float float2, float float3, float float4, float float5, float float6) -
biLerp
public static double biLerp(double double1, double double2, double double3, double double4, double double5, double double6) -
triLerp
public static float triLerp(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11) -
triLerp
public static double triLerp(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11) -
roundHalfEven
public static int roundHalfEven(float float1) -
roundHalfDown
public static int roundHalfDown(float float1) -
roundHalfUp
public static int roundHalfUp(float float1) -
roundHalfEven
public static int roundHalfEven(double double1) -
roundHalfDown
public static int roundHalfDown(double double1) -
roundHalfUp
public static int roundHalfUp(double double1) -
random
public static double random() -
signum
public static double signum(double double1) -
signum
public static float signum(float float1) -
signum
public static int signum(int int1) -
signum
public static int signum(long long1)
-