diff options
| author | Ray <[email protected]> | 2022-11-10 10:05:11 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-11-10 10:05:11 +0100 |
| commit | 84a2a8857229a696852bb97938e1ec2f7b1df892 (patch) | |
| tree | 4a79a7e2bdd6ee07d1c4f27e1007ade40bdc8923 /src/raylib.h | |
| parent | fca58c8e2f8768377fe0e535a08b99b6db40a5d6 (diff) | |
| download | raylib-84a2a8857229a696852bb97938e1ec2f7b1df892.tar.gz raylib-84a2a8857229a696852bb97938e1ec2f7b1df892.zip | |
WARNING: REMOVED: `DrawTexturePoly()`
Function moved to `examples/textures/textures_polygon.c`, so users can learn from the implementation and create custom variants as required.
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 11010f14..128711c9 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1325,7 +1325,6 @@ RLAPI void DrawTextureQuad(Texture2D texture, Vector2 tiling, Vector2 offset, Re RLAPI void DrawTextureTiled(Texture2D texture, Rectangle source, Rectangle dest, Vector2 origin, float rotation, float scale, Color tint); // Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest. RLAPI void DrawTexturePro(Texture2D texture, Rectangle source, Rectangle dest, Vector2 origin, float rotation, Color tint); // Draw a part of a texture defined by a rectangle with 'pro' parameters RLAPI void DrawTextureNPatch(Texture2D texture, NPatchInfo nPatchInfo, Rectangle dest, Vector2 origin, float rotation, Color tint); // Draws a texture (or part of it) that stretches or shrinks nicely -RLAPI void DrawTexturePoly(Texture2D texture, Vector2 center, Vector2 *points, Vector2 *texcoords, int pointCount, Color tint); // Draw a textured polygon // Color/pixel related functions RLAPI Color Fade(Color color, float alpha); // Get color with alpha applied, alpha goes from 0.0f to 1.0f |
