示例#1
0
        public PerspectiveCamera(float width, float height, float nearPlane, float farPlane)
        {
            _projection = MatrixExtensions.CreatePerspectiveLH(width, height, nearPlane, farPlane);
            _view       = Matrix4x4.Identity;

            CalculateViewProjectionMatrix();
        }