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 WorldToScreenPoint() { var camera = CreateLookAtCamera(Vector3D.One, Vector3D.Zero); var point = camera.WorldToScreenPoint(Vector3D.Zero); Assert.AreEqual(Vector2D.Half, point); }
See Also