src/raytracer.cc
branchpyrit
changeset 75 20dee9819b17
parent 72 7c3f38dff082
child 77 dbe8438d5dca
equal deleted inserted replaced
74:09aedbf5f95f 75:20dee9819b17
   542 		pthread_join(threads[t], NULL);
   542 		pthread_join(threads[t], NULL);
   543 
   543 
   544 	delete[] sample_queue;
   544 	delete[] sample_queue;
   545 }
   545 }
   546 
   546 
   547 void Raytracer::ambientocclusion(int samples, Float distance, Float angle)
   547 void Raytracer::ambientOcclusion(int samples, Float distance, Float angle)
   548 {
   548 {
   549 	ao_samples = samples;
   549 	ao_samples = samples;
   550 	ao_distance = distance;
   550 	ao_distance = distance;
   551 	ao_angle = angle;
   551 	ao_angle = angle;
   552 	if (ao_distance == 0)
   552 	if (ao_distance == 0)