Fixed DrawLineStrip issue from #44.
- Changed DrawLineStrip to take in a Vector2[] instead of ref Vector2 points.
This commit is contained in:
parent
d1d50203dd
commit
be2acd3c9a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue