REFACTOR: I forgot to actually change the function logic after rename;

The functions take in {width,height} to use instead of PPM image
containers. The function only pulled len, width and height so I just
imported them instead for all image types to be used.
This commit is contained in:
2026-09-09 17:26:02 -04:00
parent d2557b84cf
commit 39911cd662
2 changed files with 14 additions and 12 deletions
+2 -2
View File
@@ -13,7 +13,7 @@
* @retval NULL If original buffer is invalid or if new buffer fails to create
* */
unsigned int*
u32_flop(const unsigned int* buf, const PPM img);
u32_flop(const unsigned int* buf, const int width, const int height);
/**
* @brief Flips image on Y-Axis
@@ -25,7 +25,7 @@ u32_flop(const unsigned int* buf, const PPM img);
* @retval NULL If original buffer is invalid or if new buffer fails to create
* */
unsigned int*
ppm_flip(const unsigned int* buf, const PPM img);
u32_flip(const unsigned int* buf, const int width, const int height);
/**
* @brief Rotates image on 90 Clockwise