diff -r 9dbb9c8c115b -r 930a2d3ecaed include/scene.h --- a/include/scene.h Thu Apr 24 10:49:11 2008 +0200 +++ b/include/scene.h Thu Apr 24 13:55:11 2008 +0200 @@ -77,6 +77,12 @@ dir.normalize(); return Ray(eye, dir); }; + + void makeRayPacket(Sample *samples, Ray *rays) + { + for (int i = 0; i < 4; i++) + rays[i] = makeRay(samples[i]); + }; }; /**