 |
MathUtilsIsSame(BoundingBox, BoundingBox, Single) Method |
Returns true if the difference between the components in two BoundingBoxes are smaller than the specified tolerance.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic static bool IsSame(
in BoundingBox boundingBox1,
in BoundingBox boundingBox2,
float tolerance
)
Parameters
- boundingBox1 BoundingBox
- first BoundingBox
- boundingBox2 BoundingBox
- second BoundingBox
- 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 the components in two BoundingBoxes are smaller than the specified tolerance
See Also