mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-06-30 19:03:42 -04:00
Fixed DrawLineStrip issue from #44.
- Changed DrawLineStrip to take in a Vector2[] instead of ref Vector2 points.
This commit is contained in:
@ -1829,7 +1829,7 @@ namespace Raylib_cs
|
|||||||
|
|
||||||
// Draw lines sequence
|
// Draw lines sequence
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void DrawLineStrip(ref Vector2 points, int numPoints, Color color);
|
public static extern void DrawLineStrip(Vector2[] points, int numPoints, Color color);
|
||||||
|
|
||||||
// Draw a color-filled circle
|
// Draw a color-filled circle
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
Reference in New Issue
Block a user