Class MathConstants

java.lang.Object
com.ardor3d.math.MathConstants

public class MathConstants extends Object
Just a simple flag holder for runtime stripping of various ardor3d logging and debugging features.
  • 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 ignoreZeroFloatingPointRepresentationSign
      Flag 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, otherwise false. Ignoring the sign produces a numerically correct behavior but is inconsistent with java.lang.Double.compare()
  • Constructor Details

    • MathConstants

      public MathConstants()