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

[Test]
public void IntersectBoundingBoxWithBoundingSphere()
{
    var boundingBox = new BoundingBox(Vector3D.Zero, Vector3D.One);
    var sphere = new BoundingSphere(Vector3D.Zero, 0.5f);
    Assert.IsTrue(boundingBox.IsColliding(sphere));
}
See Also