Push tNear and tFar onto t&, rather than t0 and t1

This commit is contained in:
Eryn Wells 2014-07-23 07:39:55 -07:00
parent 2b9d3a3824
commit 63bb28a94a

View file

@ -174,8 +174,8 @@ Box::DoesIntersect(const Ray& ray,
}
/* We have an intersection! */
t.push_back(t0);
t.push_back(t1);
t.push_back(tNear);
t.push_back(tFar);
return true;
}