Vector3DTests NearlyEquals Method Delta Engine Documentation

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

public void NearlyEquals()
Examples

[Test]
public void NearlyEquals()
{
    Assert.IsTrue(v1.IsNearlyEqual(new Vector3D(1.000001f, 1.99999f, -2.99999f)));
    Assert.IsFalse(v1.IsNearlyEqual(new Vector3D(1, 2.1f, -3)));
}
See Also