BoundingSphere Center Property Delta Engine Documentation

Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public Vector3D Center { get; set; }

Property Value

Type: Vector3D
Remarks

Tests: DeltaEngine.Tests.Datatypes.BoundingSphereTests
Examples

1 unit tests call DeltaEngine.Datatypes.BoundingSphere.Center
[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