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:
parent
ae43dad499
commit
9abb39a3bf
14 changed files with 72 additions and 35 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue