Exemplo n.º 1
0
        protected override void OnResize(EventArgs e)
        {
            base.OnResize(e);

            _scene.UpdateScreenSize((float)ClientSize.Width, (float)ClientSize.Height);
            _text.ProjMatrix = Matrix4.CreateOrthographic((float)ClientSize.Width, (float)ClientSize.Height, -10, 10);
        }