map
fun map(number: Float, in_min: Float, in_max: Float, out_min: Float, out_max: Float): Float
Content copied to clipboard
Maps a number from one range to another.
Return
the re-mapped number
Parameters
number
the number to map
in_min
the original range min
in_max
the original range max
out_min
the final range min
out_max
the final range max