10 lines
150 B
C
10 lines
150 B
C
#include "aliases.h"
|
|
|
|
typedef struct {
|
|
u8 r;
|
|
u8 g;
|
|
u8 b;
|
|
} Pixel;
|
|
|
|
void write_p6_ppm(const char *filepath, u64 width, u64 height, Pixel *data);
|