Removed the variable limit setting since it's never used and instead just have WALL_PATH_LIMIT.

This commit is contained in:
Zed A. Shaw 2024-12-05 08:41:10 -05:00
parent 9abb39a3bf
commit eb0ca38e30
19 changed files with 50 additions and 58 deletions

View file

@ -32,18 +32,16 @@ namespace lighting {
class LightRender {
public:
int $limit;
size_t $width;
size_t $height;
Matrix $lightmap;
Pathing $paths;
LightRender(size_t width, size_t height, int limit) :
$limit(limit),
LightRender(size_t width, size_t height) :
$width(width),
$height(height),
$lightmap(height, MatrixRow(width, 0)),
$paths(width, height, limit)
$paths(width, height)
{}
void reset_light();