 |
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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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