diff options
Diffstat (limited to 'lib/hitomezashi.c')
-rw-r--r-- | lib/hitomezashi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hitomezashi.c b/lib/hitomezashi.c index 09feb11..66f7440 100644 --- a/lib/hitomezashi.c +++ b/lib/hitomezashi.c @@ -71,6 +71,7 @@ enum Hitomezashi_Draw_Result hitomezashi_draw(struct Hitomezashi_State *state) { } } // Join up the lines to avoid leaving holes at the intersections + // To understand how this works, try commenting it out and see the output for (int x = state->gap; x < state->output_width; x += state->gap) { for (int y = state->gap; y < state->output_height; y += state->gap) { rect.x = x; |