utils.math namespace
Functions
Function | Description |
---|---|
clamp(lowerBound, number, upperBound) | Clamp the provided number between the lower bound and the upper bound. |
toDegrees(angleRadians) | Converts radians to degrees. Copied from Closure's goog.math.toDegrees. |
toRadians(angleDegrees) | Converts degrees to radians. Copied from Closure's goog.math.toRadians. |