- floorInt
Returns (int) Math.floor(value).
- ceilInt
Returns (int) Math.ceil(x).
- round
Computes a rounded value for the given rounding factor. The given value is
pre-multiplied with the r
- computeRoundFactor
Computes a rounding factor suitable for the given value range and number of
significant digits.
- crop
Crops the value to the range min to max.
- equalValues
Compares two float values for equality within the given epsilon.
- interpolate2D
Performs a fast linear interpolation in two dimensions i and j.
- roundAndCrop
First calls Math.round with x and then crops the resulting value to the rangemin
to max.
- sphereDistance
- createGammaCurve
Creates a quantized gamma (correction) curve for 256 samples in range from 0 to
1. The array return
- fitDimension
Computes an integer dimension for a given integer area that best fits the
rectangle given by floatin
- subdivideRectangle
Subdivides a rectangle into tiles. The coordinates of each returned tile
rectangle are guaranteed to