Class Options



  • public final class Options
    extends Object
    Utility class for reading system properties.
    Author:
    Kai Burjack
    • Field Detail

      • DEBUG

        public static final boolean DEBUG
        Whether certain debugging checks should be made, such as that only direct NIO Buffers are used when Unsafe is active, and a proxy should be created on calls to readOnlyView().
      • FASTMATH

        public static final boolean FASTMATH
        Whether fast approximations of some java.lang.Math operations should be used.
      • SIN_LOOKUP

        public static final boolean SIN_LOOKUP
        When FASTMATH is true, whether to use a lookup table for sin/cos.
      • SIN_LOOKUP_BITS

        public static final int SIN_LOOKUP_BITS
        When SIN_LOOKUP is true, this determines the table size.
      • useNumberFormat

        public static final boolean useNumberFormat
        Whether to use a NumberFormat producing scientific notation output when formatting matrix, vector and quaternion components to strings.
      • numberFormatDecimals

        public static final int numberFormatDecimals
        When useNumberFormat is true then this determines the number of decimal digits produced in the formatted numbers.
      • NUMBER_FORMAT

        public static final NumberFormat NUMBER_FORMAT
        The NumberFormat used to format all numbers throughout all JOML classes.