Review formatting to follow raylib conventions

This commit is contained in:
Ray
2024-12-01 23:10:59 +01:00
parent 9047630ae7
commit 962f1c26ff
5 changed files with 61 additions and 74 deletions

View File

@@ -3567,7 +3567,7 @@ void ImageDrawLineEx(Image *dst, Vector2 start, Vector2 end, int thick, Color co
ImageDrawLine(dst, x1, y1, x2, y2, color);
// Determine if the line is more horizontal or vertical
if (dx != 0 && abs(dy/dx) < 1)
if ((dx != 0) && (abs(dy/dx) < 1))
{
// Line is more horizontal
// Calculate half the width of the line