summaryrefslogtreecommitdiff
path: root/ray.h
diff options
context:
space:
mode:
authorMorten Hustveit <morten.hustveit@gmail.com>2014-12-12 15:41:38 -0800
committerMorten Hustveit <morten.hustveit@gmail.com>2014-12-12 15:41:38 -0800
commiteefec7a70c96e20e3920fb2adea6c4da77c26170 (patch)
tree462ae21ff9e9fe96c165b1cce4ee2b972e245e19 /ray.h
parentdbab279df7ffcf5dd55128a1bc44ea52d7584859 (diff)
Render to window dimensions
Diffstat (limited to 'ray.h')
-rw-r--r--ray.h5
1 files changed, 1 insertions, 4 deletions
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_