Exemplo n.º 1
0
        private void OnRender()
        {
            Camera.Update();

            Viewport.BeforeRender();
            Scene.Render(Viewport, Camera.ViewMatrix, Camera.ProjectionMatrix);
            Viewport.AfterRender();

            ExecuteActionOnActors(a => a.Draw());
        }