 |
MathUtilsWithinEpsilon Method |
Checks if a - b are almost equals within a float epsilon.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic static bool WithinEpsilon(
float a,
float b,
float epsilon = 1E-06f
)
Parameters
- a Single
- The left value to compare.
- b Single
- The right value to compare.
- epsilon Single (Optional)
- Epsilon value
Return Value
Booleantrue if a almost equal to b within a float epsilon,
false otherwise
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MathUtils.WithinEpsilon(System.Single,System.Single,System.Single)"]
See Also