 |
MathUtilsIsSame(Matrix4x4, Matrix4x4, 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: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic static bool IsSame(
Matrix4x4 a,
Matrix4x4 b,
float tolerance
)
Parameters
- a Matrix4x4
- The left value to compare.
- b Matrix4x4
- 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
See Also