BoundingSphereTests IntersectBoundingSphereWithBoundingSphere 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 IntersectBoundingSphereWithBoundingSphere()
Examples

[Test]
public void IntersectBoundingSphereWithBoundingSphere()
{
    var sphere1 = new BoundingSphere(Vector3D.Zero, 1.0f);
    var sphere2 = new BoundingSphere(Vector3D.One, 1.0f);
    Assert.IsTrue(sphere1.IsColliding(sphere2));
}
See Also