Fix merge error in animated.cxx (sorry for the noise)

This commit is contained in:
Albrecht Schlosser 2022-12-28 16:24:28 +01:00
parent 03389d1931
commit 6518e2d1f1
1 changed files with 3 additions and 3 deletions

View File

@ -87,9 +87,9 @@ static void make_images() {
// A moving blob
const float pos = (i / (float) frames) * 2 - 0.5f;
const int xoffset = int(pos * DIM);
const int yoffset = 2 * DIM / 3;
const int w = DIM / 4;
const int xoffset = int(pos * dim);
const int yoffset = 2 * dim / 3;
const int w = dim / 4;
for (x = -w; x < w; x++) {
if (x + xoffset < 0 || x + xoffset >= (int)dim)