From f459262afa065608659480d81c041d7086e64951 Mon Sep 17 00:00:00 2001 From: Alexander Baggett Date: Fri, 13 Sep 2024 13:37:07 -0500 Subject: [PATCH] updated to match others --- Raylib-cs/types/Raylib.Utils.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Raylib-cs/types/Raylib.Utils.cs b/Raylib-cs/types/Raylib.Utils.cs index 480d656..7213bce 100644 --- a/Raylib-cs/types/Raylib.Utils.cs +++ b/Raylib-cs/types/Raylib.Utils.cs @@ -424,9 +424,9 @@ public static unsafe partial class Raylib public static CBool CheckCollisionPointPoly(Vector2 point, Vector2[] points) { - fixed (Vector2* pointsPtr = &points[0]) + fixed (Vector2* p = points) { - return CheckCollisionPointPoly(point, pointsPtr, points.Length); + return CheckCollisionPointPoly(point, p, points.Length); } }