mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 17:19:27 +00:00
added overload for DrawRoundedLines
This also fixes a compile-time error as the signature of `DrawRectangleRoundedLines()` had changed.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user