LookAtCameraTests OverZoomTowardTheTarget Method Delta Engine Documentation

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

public void OverZoomTowardTheTarget()
Examples

[Test, CloseAfterFirstFrame]
public void OverZoomTowardTheTarget()
{
    var camera = CreateLookAtCamera(Vector3D.UnitX * 3.0f, Vector3D.Zero);
    camera.Zoom(100.0f);
    Assert.IsTrue(camera.Position.IsNearlyEqual(Vector3D.Zero));
}
See Also