summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/libdimension/prtree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libdimension/prtree.c b/tests/libdimension/prtree.c
index cf9d4fb..d6f7672 100644
--- a/tests/libdimension/prtree.c
+++ b/tests/libdimension/prtree.c
@@ -33,6 +33,7 @@ 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->normal = dmnsn_x;
++calls;
return true;
}