From 517ef2ecd96c63b67d3ec33ca8bae553d0991aba Mon Sep 17 00:00:00 2001
From: JupiterRider <60042618+JupiterRider@users.noreply.github.com>
Date: Fri, 6 Dec 2024 18:34:20 +0100
Subject: [PATCH] draw methods parameter names improved
---
Raylib-cs/interop/Raylib.cs | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs
index 349c72b..37aaef6 100644
--- a/Raylib-cs/interop/Raylib.cs
+++ b/Raylib-cs/interop/Raylib.cs
@@ -1111,8 +1111,8 @@ public static unsafe partial class Raylib
int centerX,
int centerY,
float radius,
- Color color1,
- Color color2
+ Color inner,
+ Color outer
);
/// Draw a color-filled circle (Vector version)
@@ -1182,8 +1182,8 @@ public static unsafe partial class Raylib
int posY,
int width,
int height,
- Color color1,
- Color color2
+ Color top,
+ Color bottom
);
/// Draw a horizontal-gradient-filled rectangle
@@ -1193,18 +1193,18 @@ public static unsafe partial class Raylib
int posY,
int width,
int height,
- Color color1,
- Color color2
+ Color left,
+ Color right
);
/// Draw a gradient-filled rectangle with custom vertex colors
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawRectangleGradientEx(
Rectangle rec,
- Color col1,
- Color col2,
- Color col3,
- Color col4
+ Color topLeft,
+ Color bottomLeft,
+ Color topRight,
+ Color bottomRight
);
/// Draw rectangle outline