PlaneTests CreatePlaneFromDistance 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 CreatePlaneFromDistance()
Examples

[Test]
public void CreatePlaneFromDistance()
{
    var plane = new Plane(Vector3D.UnitY, 1.0f);
    Assert.AreEqual(Vector3D.UnitY, plane.Normal);
    Assert.AreEqual(1.0f, plane.Distance);
}
See Also