Utilities providing math functionality.
|
static bool | Approximately (float a, float b) |
| Compares two floating point values if they are similar. More...
|
|
static float | MapLinear (float newMin, float newMax, float oldMin, float oldMax, float oldValue, bool clamp=true) |
| Maps the given value belonging to the old interval to the corresponding value in the new interval. More...
|
|
static float | MapUrq (float urq, float min, float max, float value) |
| Gets the function value for the given argument value using the "Uniform Rational
Quantization (URQ)" function [Schlick 95], whereby returned function values are always between 0 and 1 if the given value is between min and max . More...
|
|