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

[Test]
public void CreateBoundingSphere()
{
    var boundingSphere = new BoundingSphere(Vector3D.One, 2.0f);
    Assert.AreEqual(Vector3D.One, boundingSphere.Center);
    Assert.AreEqual(2.0f, boundingSphere.Radius);
}
See Also