added overload for DrawRoundedLines

This also fixes a compile-time error as the signature of `DrawRectangleRoundedLines()` had changed.
This commit is contained in:
Le Juez Victor
2024-05-04 15:50:51 +02:00
committed by GitHub
parent c8a910ef2e
commit 70139aed3f

View File

@@ -80,9 +80,13 @@ class Rectangle : public ::Rectangle {
::DrawRectangleRounded(*this, roundness, segments, color);
}
void DrawRoundedLines(float roundness, int segments, ::Color color) const {
::DrawRectangleRoundedLines(*this, roundness, segments, color);
}
void DrawRoundedLines(float roundness, int segments,
float lineThick, ::Color color) const {
::DrawRectangleRoundedLines(*this, roundness, segments, lineThick, color);
::DrawRectangleRoundedLinesEx(*this, roundness, segments, lineThick, color);
}
/**