src/scene.cc
branchpyrit
changeset 53 228cb8bfdd54
parent 49 558fde7da82a
child 56 d4481fc43952
--- a/src/scene.cc	Fri Mar 28 23:30:04 2008 +0100
+++ b/src/scene.cc	Sat Mar 29 02:17:22 2008 +0100
@@ -75,13 +75,6 @@
 	eye = eye + fw*p + left*u + up*v;
 }
 
-Ray Camera::makeRay(Sample *samp)
-{
-	Vector3 dir = p + (u*samp->x - v*samp->y)*F;
-	dir.normalize();
-	return Ray(eye, dir);
-}
-
 /* http://www.siggraph.org/education/materials/HyperGraph/raytrace/rtinter3.htm */
 bool BBox::intersect(const Ray &ray, Float &a, Float &b)
 {