From eefec7a70c96e20e3920fb2adea6c4da77c26170 Mon Sep 17 00:00:00 2001 From: Morten Hustveit Date: Fri, 12 Dec 2014 15:41:38 -0800 Subject: Render to window dimensions --- ray.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ray.h') diff --git a/ray.h b/ray.h index 83b4cf0..fb0be48 100644 --- a/ray.h +++ b/ray.h @@ -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_ -- cgit v1.2.3