Maps a sqrValue lying between sqrMin and sqrMax to a resulting value between 0 and 1, whereby all the given parameters are expected to be squared.
The function used for the mapping is specified via the mapping parameter, see MappingType.
- Parameters
-
mapping | Specifies the applied type of the mapping function. |
sqrMin | The squared minimum of the function argument interval. |
sqrMax | The squared maximum of the function argument interval. |
sqrValue | The squared argument value to be mapped. |
- Returns
- The mapped function value.