summaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-05-05 22:22:44 -0600
committerTavian Barnes <tavianator@gmail.com>2010-05-05 22:33:28 -0600
commitb14506e501770aeaf54d1160c0073398cc29a038 (patch)
tree4c50a52520c5b9983192ad578a7988bf29f12925 /bench
parent97c3e4a7a0c9d7b5a41294f356896ce46451e028 (diff)
downloaddimension-b14506e501770aeaf54d1160c0073398cc29a038.tar.xz
Write a PR-tree test.
Diffstat (limited to 'bench')
-rw-r--r--bench/libdimension/prtree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bench/libdimension/prtree.c b/bench/libdimension/prtree.c
index 63778cf..b3bee13 100644
--- a/bench/libdimension/prtree.c
+++ b/bench/libdimension/prtree.c
@@ -25,8 +25,7 @@ bool
dmnsn_fake_intersection_fn(const dmnsn_object *object, dmnsn_line line,
dmnsn_intersection *intersection)
{
- intersection->t = (object->bounding_box.min.z - line.x0.z)/line.n.z;
- intersection->texture = object->texture;
+ intersection->t = (object->bounding_box.min.z - line.x0.z)/line.n.z;
return true;
}