X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Frt.h;fp=src%2Frt.h;h=b06fd64e6bc87fa1d7c0b08d87a240fc32c35a30;hb=1e541ac7382e9cf96287ff2ec810d79623cc80be;hp=7f0937532362c6271b85aa7ecd20a114b5bb578c;hpb=44dd42b26168034afe1763e0490111be3e7025f5;p=cyberay diff --git a/src/rt.h b/src/rt.h index 7f09375..b06fd64 100644 --- a/src/rt.h +++ b/src/rt.h @@ -12,4 +12,15 @@ struct material { struct image *tex_color; }; +struct framebuffer { + int width, height; + cgm_vec3 *pixels; +}; + +extern struct framebuffer fb; + +int fbsize(int width, int height); + +void render(void); + #endif /* RT_H_ */