 |
MathUtilsIsSame(Single, Single, Single) Method |
Check is the difference between a and b is smaller than the specified tolerance.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static bool IsSame(
float a,
float b,
float tolerance
)
Parameters
- a Single
- The left value to compare.
- b Single
- The right value to compare.
- tolerance Single
- float value that specifies how big the difference between values can be so that the values are considered the same
Return Value
Booleantrue if the difference between a and b is smaller than the specified tolerance
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MathUtils.IsSame(System.Single,System.Single,System.Single)"]
See Also