From 061322d5d475b3111ad87c278a869e04f8669a9d Mon Sep 17 00:00:00 2001 From: M0N7Y5 Date: Mon, 1 Jun 2020 20:21:09 +0200 Subject: [PATCH] Fixed Drawing Rounded Rectangle & Color type --- src/Raylib.bf | 4 ++-- src/Types/Color.bf | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/Raylib.bf b/src/Raylib.bf index 5c70e16..09f7d61 100644 --- a/src/Raylib.bf +++ b/src/Raylib.bf @@ -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); diff --git a/src/Types/Color.bf b/src/Types/Color.bf index be33d40..f4995f2 100644 --- a/src/Types/Color.bf +++ b/src/Types/Color.bf @@ -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); - } } }