From de255063b234871021da004d32964e25d549d3e4 Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Wed, 1 Sep 2021 15:48:09 -0400 Subject: Scale the projection plane to the screen correctly Also bumped up the textures to 32x32 --- src/renderConstants.zig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/renderConstants.zig') diff --git a/src/renderConstants.zig b/src/renderConstants.zig index aa477ee..2dbadee 100644 --- a/src/renderConstants.zig +++ b/src/renderConstants.zig @@ -14,11 +14,13 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see . +pub const screenWidth: f32 = 1024; +pub const screenHeight: f32 = 768; pub const planeWidth = 320; pub const planeHeight = 240; -pub const backTextureWidth: f32 = 1280.0; -pub const backTextureHeight: f32 = 240.0; +pub const backTextureWidth: f32 = 1280; +pub const backTextureHeight: f32 = 240; -pub const wallTextureDim: f32 = 16.0; +pub const wallTextureDim: f32 = 32.0; -- cgit v1.3.1