Ejemplo n.º 1
0
        public MainWindow(GameWindowSettings gameWindowSettings, NativeWindowSettings nativeWindowSettings)
            : base(gameWindowSettings, nativeWindowSettings)
        {
            Camera = new FpsCamera(Size.X, Size.Y);

            Camera.CameraPosition = new OpenToolkit.Mathematics.Vector3(0, -80, 40);
            Camera.CameraYaw      = -90;
            Camera.CameraPitch    = 90;
            Camera.RecalculateCamera(0, 0);
        }