From 63bb28a94ac4d90bd4968141e30d2bb8f2af4ab9 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 23 Jul 2014 07:39:55 -0700 Subject: [PATCH] Push tNear and tFar onto t&, rather than t0 and t1 --- src/objectBox.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/objectBox.cc b/src/objectBox.cc index 56d8c15..b2af53d 100644 --- a/src/objectBox.cc +++ b/src/objectBox.cc @@ -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; }