From f712e2fbae228b1caaa0c6a97af92e5eb061dc8c Mon Sep 17 00:00:00 2001 From: PixelLate <35471036+coolcoy12@users.noreply.github.com> Date: Thu, 12 Nov 2020 11:14:17 -0600 Subject: [PATCH] Add Texture render options without Vector2 cords --- src/textures.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/textures.c b/src/textures.c index 723a4b115..b5e614239 100644 --- a/src/textures.c +++ b/src/textures.c @@ -3032,6 +3032,10 @@ void DrawTexture(Texture2D texture, int posX, int posY, Color tint) DrawTextureEx(texture, (Vector2){ (float)posX, (float)posY }, 0.0f, 1.0f, tint); } +void DrawTextureScaleRotate(Texture2D texture, int posX, int posY, float rotation, float scale, Color tint) +{ + DrawTextureEx(texture, (Vector2){ (float)posX, (float)posY }, float rotation, float scale, tint); +} // Draw a Texture2D with position defined as Vector2 void DrawTextureV(Texture2D texture, Vector2 position, Color tint) {