equal
deleted
inserted
replaced
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::addlight(Light *light) |
|
548 { |
|
549 lights.push_back(light); |
|
550 } |
|
551 |
|
552 void Raytracer::ambientocclusion(int samples, Float distance, Float angle) |
547 void Raytracer::ambientocclusion(int samples, Float distance, Float angle) |
553 { |
548 { |
554 ao_samples = samples; |
549 ao_samples = samples; |
555 ao_distance = distance; |
550 ao_distance = distance; |
556 ao_angle = angle; |
551 ao_angle = angle; |