BoundingBoxTests MissBoundingBoxWithRayFromBehind 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 MissBoundingBoxWithRayFromBehind()
Examples

[Test]
public void MissBoundingBoxWithRayFromBehind()
{
    var boundingBox = new BoundingBox(Vector3D.One * -0.5f, Vector3D.One * 0.5f);
    var ray = new Ray(Vector3D.UnitY * 2.0f, Vector3D.UnitY);
    Assert.IsNull(boundingBox.Intersect(ray));
}
See Also