Nez.Portable/Math/Mathf.cs
/// <summary>
/// Maps a value from some arbitrary range to the 1 to 0 range. this is just the reverse of map01
/// </summary>
/// <param name="value">Value.</param>
/// <param name="min">Lminimum value.</param>
/// <param name="max">maximum value</param>
Maps a value from some arbitrary range to the 1 to 0 range. this is just the reverse of map01
Maps a value from some arbitrary range to the 1 to 0 range . this is just the reverse of map01
[MethodImpl(MethodImplOptions.AggressiveInlining)]
        public static float map10(float value, float min, float max)
        {
            return 1f - map01(value, min, max);
        }
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static float map10 ( float value , float min , float max ) { return 1f - map01 ( value , min , max ) ; }
Maps a value from some arbitrary range to the 1 to 0 range.
Maps a value from some arbitrary range to the 1 to 0 range .
value
float
None
min
float
None
max
float
None