updated to match others
This commit is contained in:
parent
d6ff00a6b5
commit
f459262afa
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue