Checks if a - b are almost equals within a float epsilon.
'Declaration
Public Shared Function WithinEpsilon( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
) As System.Boolean
public static System.bool WithinEpsilon(
System.float ,
System.float ,
System.float
)
Parameters
- a
- The left value to compare.
- b
- The right value to compare.
- epsilon
- Epsilon value
Return Value
true if a almost equal to b within a float epsilon, false otherwise