Add Texture render options without Vector2 cords

This commit is contained in:
PixelLate 2020-11-12 11:14:17 -06:00 • committed by GitHub
commit f712e2fbae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
{