Ejemplo n.º 1
0
 public void Resize(int width, int height)
 {
     Transforms.ProjectionMatrix = Matrix.CreateOrthographicOffCenter(0, width, 0, height, -10, 10);
     Game1.Log("Game", "Viewport: " + width + "x" + height);
     ActiveWindow.Resize(width, height);
     TextEngine.Resize(width, height);
 }