Watch
2
0
Fork
You've already forked raylib-cs
0

updated to match others

This commit is contained in:
Alexander Baggett 2024-09-13 13:37:07 -05:00 committed by GitHub
commit f459262afa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -424,9 +424,9 @@ public static unsafe partial class Raylib
public static CBool CheckCollisionPointPoly(Vector2 point, Vector2[] points) 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);
} }
} }