protected override void OnResize(EventArgs e) { GL.Viewport(0, 0, Width, Height); Camera.AspectRatio = Width / (float)Height; base.OnResize(e); }
protected override void OnResize(EventArgs e) { GL.Viewport(0, 0, Width, Height); Camera.AspectRatio = Width / (float)Height; base.OnResize(e); }