Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Datatypes.PlaneTests
2 unit tests call DeltaEngine.Datatypes.Plane.Normal
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: Vector3DRemarks
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); }
[Test] public void CreatePlaneFromPointOnPlane() { var plane = new Plane(Vector3D.UnitY, new Vector3D(0, 1, 0)); Assert.AreEqual(Vector3D.UnitY, plane.Normal); Assert.AreEqual(-1.0f, plane.Distance); }
See Also