Remove excess comments

This commit is contained in:
Jeremy Montgomery
2025-07-14 00:11:17 -05:00
committed by GitHub
parent 9f03d7c426
commit fce3102f1c

View File

@@ -3576,13 +3576,13 @@ void ImageDrawLineEx(Image *dst, Vector2 start, Vector2 end, int thick, Color co
// Draw the main line and lower half // Draw the main line and lower half
for (int i = 0; i <= ((wy+1)/2); i++) for (int i = 0; i <= ((wy+1)/2); i++)
{ {
ImageDrawLine(dst, x1, y1 + i, x2, y2 + i, color); // Draw below the main line ImageDrawLine(dst, x1, y1 + i, x2, y2 + i, color);
} }
// Draw the upper half // Draw the upper half
for (int i = 1; i <= (wy/2); i++) for (int i = 1; i <= (wy/2); i++)
{ {
ImageDrawLine(dst, x1, y1 - i, x2, y2 - i, color); // Draw above the main line ImageDrawLine(dst, x1, y1 - i, x2, y2 - i, color);
} }
} }
else if (dy != 0) else if (dy != 0)
@@ -3595,13 +3595,13 @@ void ImageDrawLineEx(Image *dst, Vector2 start, Vector2 end, int thick, Color co
//Draw the main line and right half //Draw the main line and right half
for (int i = 0; i <= ((wx+1)/2); i++) for (int i = 0; i <= ((wx+1)/2); i++)
{ {
ImageDrawLine(dst, x1 + i, y1, x2 + i, y2, color); // Draw right of the main line ImageDrawLine(dst, x1 + i, y1, x2 + i, y2, color);
} }
// Draw the left half // Draw the left half
for (int i = 1; i <= (wx/2); i++) for (int i = 1; i <= (wx/2); i++)
{ {
ImageDrawLine(dst, x1 - i, y1, x2 - i, y2, color); // Draw left of the main line ImageDrawLine(dst, x1 - i, y1, x2 - i, y2, color);
} }
} }
} }