summaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-07-14 23:59:08 -0600
committerTavian Barnes <tavianator@gmail.com>2010-07-14 23:59:08 -0600
commit8df9822fd0e9ba7799b70965377a593c6c2305e7 (patch)
tree6cda9bea6495c985d8cf21c93788b20c2ed979ce /bench
parente597c5dfda095ee29a5906c80e69da43eab7d134 (diff)
downloaddimension-8df9822fd0e9ba7799b70965377a593c6c2305e7.tar.xz
Make prtree benchmark use a more realistic ray.
Diffstat (limited to 'bench')
-rw-r--r--bench/libdimension/prtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/libdimension/prtree.c b/bench/libdimension/prtree.c
index 5b54098..749d524 100644
--- a/bench/libdimension/prtree.c
+++ b/bench/libdimension/prtree.c
@@ -89,8 +89,8 @@ main()
/* dmnsn_prtree_intersection() */
dmnsn_line ray = dmnsn_new_line(
- dmnsn_new_vector(0.0, 0.0, -2.0),
- dmnsn_new_vector(0.0, 0.0, 1.0)
+ dmnsn_new_vector( 1.0, 1.0, -2.0),
+ dmnsn_new_vector(-0.5, -0.5, 1.0)
);
dmnsn_intersection intersection;