mirror of
				https://github.com/raylib-cs/raylib-cs
				synced 2025-11-02 05:06:44 -05:00 
			
		
		
		
	Fix bug with incorrect DrawTriangleStrip parameter
- It should take Vector2[] instead of a ref to Vector2 since it operates on multiple points.
This commit is contained in:
		@@ -1640,7 +1640,7 @@ namespace Raylib_cs
 | 
			
		||||
 | 
			
		||||
        // Draw a triangle strip defined by points
 | 
			
		||||
        [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
 | 
			
		||||
        public static extern void DrawTriangleStrip(ref Vector2 points, int pointsCount, Color color);
 | 
			
		||||
        public static extern void DrawTriangleStrip(Vector2[] points, int pointsCount, Color color);
 | 
			
		||||
 | 
			
		||||
        // Draw a regular polygon (Vector version)
 | 
			
		||||
        [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user