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.GetHashCode
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Return Value
Type: Int32Remarks
Examples
[Test] public void GetHashCodeViaDictionary() { var box = new BoundingBox(Vector3D.Zero, Vector3D.One); var equalBox = new BoundingBox(Vector3D.Zero, Vector3D.One); Assert.AreEqual(box.GetHashCode(), equalBox.GetHashCode()); var otherBox = new BoundingBox(-Vector3D.One, Vector3D.One); Assert.AreNotEqual(box.GetHashCode(), otherBox.GetHashCode()); }
See Also