Global instance of a 2x2 identity matrix. Use as read-only.
Global instance of an identity transform. Use as read-only.
Global instance of a zero'ed vector. Use as read-only.
Creates an ABS number.
Number to ABS.
Absolute value of a.
Clamp a number to the range of low to high.
Number to clamp.
Low range.
High range.
Number a clamped to range of low to high.
Check if a number is a power of 2.
Number to check if it is a power of 2.
True if x is a power of 2, otherwise false.
Determines if a number is valid. A number is valid if it is finite.
Number to check for validity.
True if x is valid, otherwise false.
Determines the max number.
First number.
Second number.
a or b depending on which is the maximum.
Determines the minimum number.
First number.
Second number.
a or b depending on which is the minimum.
Calculates the next power of 2 after the given number.
Number to start search for the next power of 2.
The next number that is a power of 2.
Generates a random number.
Returns a random number between lo and hi.
Lowest random number.
Highest random number.
Number between lo and hi.
Swaps a and b objects.
a -> b.
b -> a.
Generated using TypeDoc
Math utility functions.