Static ReadonlyDEG2Constant to convert degrees to radians.
Static ReadonlyHALF_Mathematical constant PI / 2.
Static ReadonlyPIMathematical constant PI.
Static ReadonlyQUARTER_Mathematical constant PI / 4.
Static ReadonlyRAD2Constant to convert radians to degrees.
Static ReadonlyTWO_Mathematical constant 2 * PI.
StaticclampClamps a value between a minimum and maximum.
The value to clamp.
The minimum value.
The maximum value.
The clamped value.
StaticdegConverts degrees to radians.
The angle in degrees.
The angle in radians.
StaticfastReturns the cosine of the given angle in radians using a lookup table.
The angle in radians.
The cosine of the angle.
StaticfastReturns the sine of the given angle in radians using a lookup table.
The angle in radians.
The sine of the angle.
StaticgenerateGenerates a unique identifier (UUID v4). Uses crypto.randomUUID() if available.
A string representation of a UUID.
StaticinitInitializes the sine and cosine lookup tables for fast lookup.
StaticradConverts radians to degrees.
The angle in radians.
The angle in degrees.
Utility class for mathematical operations and constants.