Vector3DTests IntersectNormal 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 IntersectNormal()
Examples

[Test]
public void IntersectNormal()
{
    var oneNormal = Vector3D.Normalize(Vector3D.One);
    var v = new Vector3D(1, 2, 3);
    Assert.IsTrue(new Vector3D(2, 2, 2).IsNearlyEqual(v.IntersectNormal(oneNormal)));
}
See Also