Update Raylib.cs
This commit is contained in:
parent
cab8e56f23
commit
db834c7d8a
1 changed files with 1 additions and 1 deletions
|
|
@ -1294,7 +1294,7 @@ public static unsafe partial class Raylib
|
||||||
public unsafe static bool CheckCollisionPointPoly(Vector2 point, Vector2[] points, int pointCount)
|
public unsafe static bool CheckCollisionPointPoly(Vector2 point, Vector2[] points, int pointCount)
|
||||||
{
|
{
|
||||||
var pointsPtr = (Vector2*)Unsafe.AsPointer<Vector2>(ref MemoryMarshal.GetArrayDataReference(points));
|
var pointsPtr = (Vector2*)Unsafe.AsPointer<Vector2>(ref MemoryMarshal.GetArrayDataReference(points));
|
||||||
return Raylib.CheckCollisionPointPoly(point, pointsPtr, pointCount);
|
return CheckCollisionPointPoly(point, pointsPtr, pointCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue