mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
Remove excess comments
This commit is contained in:

committed by
GitHub

parent
9f03d7c426
commit
fce3102f1c
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user