diff options
author | Morten Hustveit <morten.hustveit@gmail.com> | 2014-12-12 15:41:38 -0800 |
---|---|---|
committer | Morten Hustveit <morten.hustveit@gmail.com> | 2014-12-12 15:41:38 -0800 |
commit | eefec7a70c96e20e3920fb2adea6c4da77c26170 (patch) | |
tree | 462ae21ff9e9fe96c165b1cce4ee2b972e245e19 /ray.h | |
parent | dbab279df7ffcf5dd55128a1bc44ea52d7584859 (diff) |
Render to window dimensions
Diffstat (limited to 'ray.h')
-rw-r--r-- | ray.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,10 +1,7 @@ #ifndef RAY_H_ #define RAY_H_ 1 -#define WIDTH 1000 -#define HEIGHT 1000 - void -trace_scene(float time, unsigned char *buf, int threaded); +trace_scene(float time, int width, int height, unsigned char *buf, int threaded); #endif // !RAY_H_ |