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
FieldsModifier and TypeFieldDescriptionstatic final booleanFlag indicating whether zero floating-point representations's sign is taken into account when comparing values.static final intstatic final booleanstatic final boolean -
Constructor Summary
Constructors -
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.truewhen -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()
-