include/raytracer.h
branchpyrit
changeset 94 4c8abb8977dc
parent 93 96d65f841791
child 95 ca7d4c665531
--- a/include/raytracer.h	Tue May 06 09:39:58 2008 +0200
+++ b/include/raytracer.h	Thu May 08 09:21:25 2008 +0200
@@ -1,5 +1,6 @@
-/*
- * raytracer.h: Raytracer class
+/**
+ * @file  raytracer.h
+ * @brief The base class of the ray tracer
  *
  * This file is part of Pyrit Ray Tracer.
  *
@@ -71,7 +72,7 @@
 	static void *raytrace_worker(void *d);
 public:
 	Raytracer(): top(NULL), camera(NULL), lights(), bg_colour(0., 0., 0.),
-		ao_samples(0), num_threads(2), max_depth(3), use_packets(true)
+		ao_samples(0), num_threads(4), max_depth(3), use_packets(true)
 	{
 		pthread_mutex_init(&sample_queue_mutex, NULL);
 		pthread_mutex_init(&sampler_mutex, NULL);