Method InRange01
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
InRange01(float)
Tests whether the given value lies in the range [0, 1).
public static bool InRange01(float value)
Parameters
value
floatThe value to check.
Returns
- bool
true
if the given value is equal or greater than 0 and smaller than 1,false
otherwise.