API: moved functions to files to make it easier to import to other projects

This commit is contained in:
Andrew Haynes
2026-03-22 17:24:40 -04:00
parent 05a15d38af
commit 64cf77bbe3
11 changed files with 678 additions and 572 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef TRANSFORMATIONS_H
#define TRANSFORMATIONS_H
#include "utils.h"
unsigned int*
ppm_flip_h(const unsigned int* buf, const PPM img);
unsigned int*
ppm_flip_v(const unsigned int* buf, const PPM img);
unsigned int*
u32_rotate(const unsigned int* buf, PPM* m_img, const int len);
#endif