prng-tests/ppm.h
2024-03-22 11:52:40 +00:00

16 lines
192 B
C

#include "aliases.h"
typedef struct {
u8 r;
u8 g;
u8 b;
} Pixel;
typedef struct {
u64 width;
u64 height;
Pixel *data;
} Image;
void write_p6_ppm(const char *filepath, Image *img);