Пример #1
0
        public void OnUpdateFrame(FrameEventArgs e)
        {
            UpdateCamera(e);

            UpdateSelector();

            // Check if exit
            if (Keyboard[OpenTK.Input.Key.Escape])
            {
                Parent.Exit();
            }

            // Update the render scene
            RenderScene.Update(e);
        }