File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
content/en-us/reference/engine/libraries Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -352,15 +352,9 @@ functions:
352352 Returns the value of `x` mapped from one range to another.
353353 description : |
354354 Returns a value that represents `x` mapped linearly from the input range
355- [`inmin`, `inmax`] to the output range [`outmin`, `outmax`]. This is achieved
356- by determining the relative position of `x` within the input range and applying
357- that ratio to the output range.
358-
359- The mapping is calculated using the formula:
360-
361- ```
362- outmin + ((x - inmin) / (inmax - inmin)) * (outmax - outmin)
363- ```
355+ (`inmin` to `inmax`) to the output range (`outmin` to `outmax`). This is
356+ achieved by determining the relative position of `x` within the input
357+ range and applying that ratio to the output range.
364358 parameters :
365359 - name : x
366360 type : number
You can’t perform that action at this time.
0 commit comments