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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user