include/scene.h
branchpyrit
changeset 82 930a2d3ecaed
parent 80 907929fa9b59
child 83 e3a2a5b26abb
--- 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]);
+	};
 };
 
 /**