Пример #1
0
        /*
        ================
        R_RenderView

        A view may be either the actual camera view,
        or a mirror / remote location
        ================
        */
        void RenderView(ViewParams view)
        {
            if (view.viewportWidth <= 0 || view.viewportHeight <= 0)
            {
                return;
            }
            view.SetupProjection(10000f, true);

            if (SourceMap != null)
                SourceMap.Render(device);

            // SetFarClip()

            view.SetupProjectionZ();
            Camera.RotateForViewer();
        }