ActorTests TestBoundingBox Method Delta Engine Documentation

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

public void TestBoundingBox()
Examples

[Test]
public void TestBoundingBox()
{
    var actor = new MockActor(Vector3D.One, 1.0f);
    var box = new BoundingBox(new Vector3D(0.5f, 0.5f, 0.5f), new Vector3D(1.5f, 1.5f, 1.5f));
    Assert.AreEqual(box, actor.GetBoundingBox());
}
See Also