Removed the variable limit setting since it's never used and instead just have WALL_PATH_LIMIT.
This commit is contained in:
parent
9abb39a3bf
commit
eb0ca38e30
19 changed files with 50 additions and 58 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue