Package com.ardor3d.math
Class MathConstants
java.lang.Object
com.ardor3d.math.MathConstants
Just a simple flag holder for runtime stripping of various ardor3d logging and debugging features.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
Flag indicating whether zero floating-point representations's sign is taken into account when comparing values.static final int
static final boolean
static final boolean
-
Constructor Summary
-
Method Summary
-
Field Details
-
useMathPools
public static final boolean useMathPools -
useFastMath
public static final boolean useFastMath -
maxMathPoolSize
public static final int maxMathPoolSize -
ignoreZeroFloatingPointRepresentationSign
public static final boolean ignoreZeroFloatingPointRepresentationSignFlag indicating whether zero floating-point representations's sign is taken into account when comparing values.true
when -0.0 and 0.0 are considered equal, otherwisefalse
. Ignoring the sign produces a numerically correct behavior but is inconsistent with java.lang.Double.compare()
-
-
Constructor Details
-
MathConstants
public MathConstants()
-