X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fimage.h;fp=src%2Fimage.h;h=47f6b6153c43a43c8ddf25abb0c28eb0424c505c;hb=d2f1a6ab443b86a42e9fd28a19ebdbcf729a5d51;hp=0000000000000000000000000000000000000000;hpb=d05988274bf2ff6274e2c874976681aa989b7d89;p=cyberay diff --git a/src/image.h b/src/image.h new file mode 100644 index 0000000..47f6b61 --- /dev/null +++ b/src/image.h @@ -0,0 +1,12 @@ +#ifndef IMAGE_H_ +#define IMAGE_H_ + +struct image { + int width, height; + float *pixels; +}; + +int load_image(struct image *img, const char *fname); +void destroy_image(struct image *img); + +#endif /* IMAGE_H_ */