summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDane Madsen <[email protected]>2023-05-24 10:43:18 +1000
committerGitHub <[email protected]>2023-05-24 10:43:18 +1000
commit6505c6f4f5b3889feb470d07884eeed58b0fc706 (patch)
tree5f8598b5ab6687efc557a4b3441a43ba770dc7ce
parentcc2d924669231ca791a2093b292545a29fcdc08b (diff)
downloadraylib.com-6505c6f4f5b3889feb470d07884eeed58b0fc706.tar.gz
raylib.com-6505c6f4f5b3889feb470d07884eeed58b0fc706.zip
Update raylib_textures.c with new ImageRotate
-rw-r--r--cheatsheet/raylib_textures.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cheatsheet/raylib_textures.c b/cheatsheet/raylib_textures.c
index 7beb305..f47c97c 100644
--- a/cheatsheet/raylib_textures.c
+++ b/cheatsheet/raylib_textures.c
@@ -43,6 +43,7 @@
void ImageDither(Image *image, int rBpp, int gBpp, int bBpp, int aBpp); // Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
void ImageFlipVertical(Image *image); // Flip image vertically
void ImageFlipHorizontal(Image *image); // Flip image horizontally
+ void ImageRotate(Image *image, int degrees); // Rotate image by input angle in degrees (-359 to 359)
void ImageRotateCW(Image *image); // Rotate image clockwise 90deg
void ImageRotateCCW(Image *image); // Rotate image counter-clockwise 90deg
void ImageColorTint(Image *image, Color color); // Modify image color: tint