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

[Test]
public void RayPlaneIntersect()
{
    VerifyIntersectPoint(new Ray(Vector3D.UnitZ, -Vector3D.UnitZ), new Plane(Vector3D.UnitZ, 3.0f),
        -Vector3D.UnitZ * 3.0f);
    VerifyIntersectPoint(new Ray(3 * Vector3D.One, -Vector3D.One),
        new Plane(Vector3D.UnitY, Vector3D.One), Vector3D.One);
}
See Also