Nez.Portable/Math/Mathf.cs
/// <summary>
/// checks to see if value is between min/max inclusive of min/max
/// </summary>
/// <param name="value">Value.</param>
/// <param name="min">Minimum.</param>
/// <param name="max">Max.</param>
checks to see if value is between min/max inclusive of min/max
checks to see if value is between min / max inclusive of min / max
[MethodImpl(MethodImplOptions.AggressiveInlining)]
        public static bool between(float value, float min, float max)
        {
            return value >= min && value <= max;
        }
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static bool between ( float value , float min , float max ) { return value >= min && value <= max ; }
checks to see if value is between min/max inclusive of min/max
checks to see if value is between min / max inclusive of min / max
value
float
None
min
float
None
max
float
None