|
| static float | Remap (float x, float A, float B, float C, float D) |
| | Remaps a value x in interval [A,B], to the proportional value in interval [C,D] More...
|
| |
◆ Remap()
| static float MoreMountains.Feedbacks.MMFeedbacksHelpers.Remap |
( |
float |
x, |
|
|
float |
A, |
|
|
float |
B, |
|
|
float |
C, |
|
|
float |
D |
|
) |
| |
|
static |
Remaps a value x in interval [A,B], to the proportional value in interval [C,D]
- Parameters
-
| x | The value to remap. |
| A | the minimum bound of interval [A,B] that contains the x value |
| B | the maximum bound of interval [A,B] that contains the x value |
| C | the minimum bound of target interval [C,D] |
| D | the maximum bound of target interval [C,D] |
The documentation for this class was generated from the following file: