diff options
Diffstat (limited to 'bench')
-rw-r--r-- | bench/libdimension/prtree.c | 3 |
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; } |