diff --git a/main.c b/main.c index 6faffda..ab798a7 100644 --- a/main.c +++ b/main.c @@ -339,6 +339,8 @@ draw_horizontal_line( if (dx < 1) return; for (int32_t x = x0; x <= x1; x++) { + /* doing bresenham in the z-axis to find the points where we + * should/shouldn't draw */ eps += dz; while (eps > 0) { eps -= dx;