Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Datatypes.BoundingBoxTests
1 unit tests call DeltaEngine.Datatypes.BoundingBox.Merge(DeltaEngine.Datatypes.BoundingBox)
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- otherBox
- Type: DeltaEngine.Datatypes BoundingBox
Remarks
Examples
[Test] public void MergeTwoBoundingBoxes() { var boxA = new BoundingBox(Vector3D.Zero, Vector3D.Zero); boxA.Merge(new BoundingBox(-Vector3D.One, Vector3D.One)); Assert.AreEqual(boxA, new BoundingBox(-Vector3D.One, Vector3D.One)); boxA.Merge(new BoundingBox(Vector3D.Zero, Vector3D.Zero)); Assert.AreEqual(boxA, new BoundingBox(-Vector3D.One, Vector3D.One)); }
See Also