Package-level declarations
Functions
Restricts a value to the range min, max degrees, clamping values outside the range. Values less than min are returned as min, and values greater than max are returned as max. Values within the range are returned unmodified.
The result of this method is undefined if min is greater than max.
Packs vec2 into one float value.
Computes the linear interpolation of two values according to a specified fractional amount. The fractional amount is interpreted as a relative proportion of the two values, where 0.0 indicates the first value, 0.5 indicates a 50/50 mix of the two values, and 1.0 indicates the second value.
The result of this method is undefined if the amount is outside the range 0, 1.
Indicates whether a specified value is a power of two.
Returns the value that is the nearest power of 2 greater than or equal to the given value.
Returns the value that is the nearest power of 2 less than or equal to the given value.