Afterglow.Graphics.Cameras.Test_PerspectiveProjectionLense.Constructor_initializes_AspectRatio_HorizontalFoV_DistanceToFarPlane_DistanceToNearPlane C# (CSharp) Method

Constructor_initializes_AspectRatio_HorizontalFoV_DistanceToFarPlane_DistanceToNearPlane() private method

        public void Constructor_initializes_AspectRatio_HorizontalFoV_DistanceToFarPlane_DistanceToNearPlane()
        {
            var lense = new PerspectiveProjectionLense();

            Assert.IsNotNull(lense);
            Assert.AreEqual(4.0f / 3.0f, lense.AspectRatio);
            Assert.AreEqual(0.75f, lense.HorizontalFieldOfView);
            Assert.AreEqual(0.001f, lense.DistanceToNearPlane);
            Assert.AreEqual(100000f, lense.DistanceToFarPlane);
        }