Namespace: DeltaEngine.Rendering3D.Tests.Cameras
Assembly: DeltaEngine.Rendering3D.Tests (in DeltaEngine.Rendering3D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering3D.Tests (in DeltaEngine.Rendering3D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void ZoomOutwardTheTarget() { var camera = CreateLookAtCamera(Vector3D.UnitX, Vector3D.Zero); camera.Zoom(-1.0f); Assert.AreEqual(Vector3D.UnitX * 2.0f, camera.Position); }
See Also