Camera: use 1920x1080 / 4 explicitly.
This commit is contained in:
parent
d926d23b3f
commit
800909394c
@ -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…
Reference in New Issue
Block a user