diff --git a/Raylib-cs/Raylib.cs b/Raylib-cs/Raylib.cs index 89e25cd..a55365c 100644 --- a/Raylib-cs/Raylib.cs +++ b/Raylib-cs/Raylib.cs @@ -1380,23 +1380,23 @@ namespace Raylib_cs /// Draw a part of a texture defined by a rectangle [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern void DrawTextureRec(Texture2D texture, Rectangle sourceRec, Vector2 position, Color tint); + public static extern void DrawTextureRec(Texture2D texture, Rectangle source, Vector2 position, Color tint); /// Draw texture quad with tiling and offset parameters [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void DrawTextureQuad(Texture2D texture, Vector2 tiling, Vector2 offset, Rectangle quad, Color tint); - /// Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest. + /// Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void DrawTextureTiled(Texture2D texture, Rectangle source, Rectangle dest, Vector2 origin, float rotation, float scale, Color tint); /// Draw a part of a texture defined by a rectangle with 'pro' parameters [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern void DrawTexturePro(Texture2D texture, Rectangle sourceRec, Rectangle destRec, Vector2 origin, float rotation, Color tint); + public static extern void DrawTexturePro(Texture2D texture, Rectangle source, Rectangle dest, Vector2 origin, float rotation, Color tint); /// Draws a texture (or part of it) that stretches or shrinks nicely [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern void DrawTextureNPatch(Texture2D texture, NPatchInfo nPatchInfo, Rectangle destRec, Vector2 origin, float rotation, Color tint); + public static extern void DrawTextureNPatch(Texture2D texture, NPatchInfo nPatchInfo, Rectangle dest, Vector2 origin, float rotation, Color tint); /// Draw a textured polygon [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] @@ -1844,9 +1844,9 @@ namespace Raylib_cs [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void DrawBillboard(Camera3D camera, Texture2D texture, Vector3 center, float size, Color tint); - /// Draw a billboard texture defined by sourceRec + /// Draw a billboard texture defined by source [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern void DrawBillboardRec(Camera3D camera, Texture2D texture, Rectangle sourceRec, Vector3 center, float size, Color tint); + public static extern void DrawBillboardRec(Camera3D camera, Texture2D texture, Rectangle source, Vector3 center, float size, Color tint); // Draw a billboard texture defined by source and rotation [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]