public final class Options extends Object
| Modifier and Type | Field and Description |
|---|---|
static 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().
|
static boolean |
FASTMATH
Whether fast approximations of some java.lang.Math operations should be used.
|
static NumberFormat |
NUMBER_FORMAT
The
NumberFormat used to format all numbers throughout all JOML classes. |
static int |
numberFormatDecimals
When
useNumberFormat is true then this determines the number of decimal digits
produced in the formatted numbers. |
static boolean |
SIN_LOOKUP
When
FASTMATH is true, whether to use a lookup table for sin/cos. |
static int |
SIN_LOOKUP_BITS
When
SIN_LOOKUP is true, this determines the table size. |
static boolean |
useNumberFormat
Whether to use a
NumberFormat producing scientific notation output when formatting matrix,
vector and quaternion components to strings. |
public static final boolean DEBUG
public static final boolean FASTMATH
public static final boolean SIN_LOOKUP
FASTMATH is true, whether to use a lookup table for sin/cos.public static final int SIN_LOOKUP_BITS
SIN_LOOKUP is true, this determines the table size.public static final boolean useNumberFormat
NumberFormat producing scientific notation output when formatting matrix,
vector and quaternion components to strings.public static final int numberFormatDecimals
useNumberFormat is true then this determines the number of decimal digits
produced in the formatted numbers.public static final NumberFormat NUMBER_FORMAT
NumberFormat used to format all numbers throughout all JOML classes.Copyright © 2015–2019 JOML. All rights reserved.