started implementing intersection functions and the main renderer data
[cyberay] / src / image.h
1 #ifndef IMAGE_H_
2 #define IMAGE_H_
3
4 struct image {
5         int width, height;
6         float *pixels;
7 };
8
9 int load_image(struct image *img, const char *fname);
10 void destroy_image(struct image *img);
11
12 #endif  /* IMAGE_H_ */