Did a full code review to identify things to fix and either fixed them or noted BUG where I should come back.

This commit is contained in:
Zed A. Shaw 2024-12-04 21:43:59 -05:00
parent ae43dad499
commit 9abb39a3bf
14 changed files with 72 additions and 35 deletions

View file

@ -36,14 +36,14 @@ namespace lighting {
size_t $width;
size_t $height;
Matrix $lightmap;
Pathing $light;
Pathing $paths;
LightRender(size_t width, size_t height, int limit) :
$limit(limit),
$width(width),
$height(height),
$lightmap(height, MatrixRow(width, 0)),
$light(width, height, limit)
$paths(width, height, limit)
{}
void reset_light();