Esempio n. 1
0
 public void OnResize(int width, int height)
 {
     GL.Viewport(0, 0, width, height);
     ProjectionMatrix = Matrix4.CreatePerspectiveFieldOfView(fov, width / (float)height, 0.1f, 50);
     OrthoRenderEngine.OnResize(width, height);
 }