Skip to content

Commit

Permalink
Fixed Drawing Rounded Rectangle & Color type
Browse files Browse the repository at this point in the history
  • Loading branch information
M0n7y5 committed Jun 1, 2020
1 parent 0fe15bc commit 061322d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Raylib.bf
Original file line number Diff line number Diff line change
Expand Up @@ -582,10 +582,10 @@ namespace raylib_beef
public static extern void DrawRectangleLinesEx(Rectangle rec, int lineThick, Color color);
// // Draw rectangle with rounded edges
[CLink]
public static extern void DrawRectangleRounded(Rectangle rec, float roundness, int segments, Color color);
public static extern void DrawRectangleRounded(Rectangle rec, float roundness, int32 segments, Color color);
// // Draw rectangle with rounded edges outline
[CLink]
public static extern void DrawRectangleRoundedLines(Rectangle rec, float roundness, int segments, int lineThick, Color color);
public static extern void DrawRectangleRoundedLines(Rectangle rec, float roundness, int32 segments, int lineThick, Color color);
// // Draw a color-filled triangle (vertex in counter-clockwise order!)
[CLink]
public static extern void DrawTriangle(Vector2 v1, Vector2 v2, Vector2 v3, Color color);
Expand Down
5 changes: 0 additions & 5 deletions src/Types/Color.bf
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,5 @@ namespace raylib_beef.Types
this.b = b;
this.a = a;
}

public String ToString()
{
return new String..AppendF("{} {} {} {}", r, g, b, a);
}
}
}

0 comments on commit 061322d

Please sign in to comment.