--- a/include/raytracer.h Thu Apr 24 18:12:32 2008 +0200
+++ b/include/raytracer.h Sun Apr 27 09:44:49 2008 +0200
@@ -67,9 +67,9 @@
pthread_mutex_t sample_queue_mutex, sampler_mutex;
pthread_cond_t sample_queue_cond, worker_ready_cond;
- Colour shader_evalulate(Ray &ray, int depth, Shape *origin_shape,
+ Colour shader_evalulate(const Ray &ray, int depth, Shape *origin_shape,
Float nearest_distance, Shape *nearest_shape);
- void raytracePacket(Ray *rays, Colour *results);
+ void raytracePacket(RayPacket &rays, Colour *results);
static void *raytrace_worker(void *d);
public:
Raytracer(): top(NULL), camera(NULL), lights(), bg_colour(0., 0., 0.),