Raycaster mostly cleaned up. Only thing I can think of is bringing in CameraLOL as the coordinates directly.
This commit is contained in:
parent
2de4b43914
commit
9c37960283
2 changed files with 17 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue