diff --git a/Raylib-cs/types/Raylib.Utils.cs b/Raylib-cs/types/Raylib.Utils.cs index b67c732..7213bce 100644 --- a/Raylib-cs/types/Raylib.Utils.cs +++ b/Raylib-cs/types/Raylib.Utils.cs @@ -422,6 +422,14 @@ public static unsafe partial class Raylib } } + public static CBool CheckCollisionPointPoly(Vector2 point, Vector2[] points) + { + fixed (Vector2* p = points) + { + return CheckCollisionPointPoly(point, p, points.Length); + } + } + /// Generate image: grayscale image from text data public static Image GenImageText(int width, int height, string text) {