--- 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]);
+ };
};
/**