Browse Source

Camera: use 1920x1080 / 4 explicitly.

main
Colin McMillen 4 years ago
parent
commit
800909394c
  1. 2
      Shared/Camera.cs

2
Shared/Camera.cs

@ -6,7 +6,7 @@ using System;
namespace SemiColinGames {
public class Camera {
// Screen size in pixels is 1920x1080 divided by 4.
private Rectangle bbox = new Rectangle(0, 0, 480, 270);
private Rectangle bbox = new Rectangle(0, 0, 1920 / 4, 1080 / 4);
public int Width { get => bbox.Width; }
public int Height { get => bbox.Height; }
public int Left { get => bbox.Left; }

Loading…
Cancel
Save