Threaded example raytracer