Skip to content

Commit 70139ae

Browse files
authored
added overload for DrawRoundedLines
This also fixes a compile-time error as the signature of `DrawRectangleRoundedLines()` had changed.
1 parent c8a910e commit 70139ae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/Rectangle.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,13 @@ class Rectangle : public ::Rectangle {
8080
::DrawRectangleRounded(*this, roundness, segments, color);
8181
}
8282

83+
void DrawRoundedLines(float roundness, int segments, ::Color color) const {
84+
::DrawRectangleRoundedLines(*this, roundness, segments, color);
85+
}
86+
8387
void DrawRoundedLines(float roundness, int segments,
8488
float lineThick, ::Color color) const {
85-
::DrawRectangleRoundedLines(*this, roundness, segments, lineThick, color);
89+
::DrawRectangleRoundedLinesEx(*this, roundness, segments, lineThick, color);
8690
}
8791

8892
/**

0 commit comments

Comments
 (0)