feat: animation
This commit is contained in:
parent
2803a05571
commit
033e6df50b
|
@ -175,7 +175,7 @@ static void Animation(swwRenderer* o)
|
|||
const int w = kDim / 4;
|
||||
|
||||
for (int x = -w; x < w; x++) {
|
||||
if (x + xoffset < 0 || x + xoffset >= (int)dim)
|
||||
if (x + xoffset < 0 || x + xoffset >= (int)kDim)
|
||||
continue;
|
||||
for (int y = yoffset - w; y < yoffset + w; y++) {
|
||||
const uint8_t grey = abs(y - yoffset);
|
||||
|
|
Loading…
Reference in New Issue