EulerAngles Equals Method (EulerAngles)Delta Engine Documentation

Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public bool Equals(
	EulerAngles other
)

Return Value

Type: Boolean
Remarks

Tests: DeltaEngine.Tests.Datatypes.EulerAnglesTests
Examples

1 unit tests call DeltaEngine.Datatypes.EulerAngles.Equals(DeltaEngine.Datatypes.EulerAngles)
[Test]
public void Equals()
{
    var euler1 = new EulerAngles(1, 2, 3);
    var euler2 = new EulerAngles(3, 4, 5);
    Assert.AreNotEqual(euler1, euler2);
    Assert.AreEqual(euler1, new EulerAngles(1, 2, 3));
    Assert.IsTrue(euler1 == new EulerAngles(1, 2, 3));
    Assert.IsTrue(euler1 != euler2);
    Assert.IsTrue(euler1.Equals((object)new EulerAngles(1, 2, 3)));
}
See Also