Make a function to access overlay cells Closes #35.

This commit is contained in:
Zed A. Shaw 2025-06-26 23:17:53 -04:00
parent f668ff6b7a
commit fcd1bc589c
8 changed files with 7 additions and 7 deletions

View file

@ -68,7 +68,6 @@ void Raycaster::position_camera(float player_x, float player_y) {
void Raycaster::draw_pixel_buffer() {
view_texture.update(pixels.to_raw_buf(), {(unsigned int)$width, (unsigned int)$height}, {0, 0});
// BUG: can I do this once and just update it?
$window.draw(view_sprite);
}