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(int value, int min, int max)
        {
            return value >= min && value <= max;
        }
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static bool between ( int value , int min , int 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
int
None
min
int
None
max
int
None