branch | pyrit |
changeset 52 | a6413a3d741d |
parent 50 | 14a727b70d07 |
child 53 | 228cb8bfdd54 |
--- a/include/raytracer.h Fri Mar 28 21:47:32 2008 +0100 +++ b/include/raytracer.h Fri Mar 28 23:30:04 2008 +0100 @@ -61,8 +61,9 @@ int max_depth; Vector3 SphereDistribute(int i, int n, Float extent, Vector3 &normal); - - queue<Sample*> sample_queue; + + Sample **sample_queue; + int sample_queue_max, sample_queue_pos, sample_queue_count; bool sample_queue_end; pthread_mutex_t sample_queue_mutex, sampler_mutex; pthread_cond_t sample_queue_cond, worker_ready_cond;