Fixed that crash and cleaned up more variables for some study next. I might also try out my debug macros.

This commit is contained in:
Zed A. Shaw 2025-01-18 00:44:25 -05:00
parent 7fb2d5cf26
commit 7a74877849
9 changed files with 162 additions and 92729 deletions

8
constants.hpp Normal file
View file

@ -0,0 +1,8 @@
#pragma once
constexpr const int RAY_VIEW_WIDTH=960;
constexpr const int RAY_VIEW_HEIGHT=720;
constexpr const int RAY_VIEW_X=(1280 - RAY_VIEW_WIDTH);
constexpr const int RAY_VIEW_Y=0;
constexpr const int SCREEN_HEIGHT=720;
constexpr const int SCREEN_WIDTH=1280;