Raycaster mostly cleaned up. Only thing I can think of is bringing in CameraLOL as the coordinates directly.

This commit is contained in:
Zed A. Shaw 2025-02-10 12:05:07 -05:00
parent 2de4b43914
commit 9c37960283
2 changed files with 17 additions and 9 deletions

View file

@ -32,6 +32,8 @@ struct Raycaster {
int $width;
int $height;
int $screen_pos_x = RAY_VIEW_X;
int $screen_pos_y = RAY_VIEW_Y;
GameLevel $level;
Matrix $map;
std::unordered_map<DinkyECS::Entity, SpriteTexture> $sprites;