diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-07-14 23:59:08 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-07-14 23:59:08 -0600 |
commit | 8df9822fd0e9ba7799b70965377a593c6c2305e7 (patch) | |
tree | 6cda9bea6495c985d8cf21c93788b20c2ed979ce | |
parent | e597c5dfda095ee29a5906c80e69da43eab7d134 (diff) | |
download | dimension-8df9822fd0e9ba7799b70965377a593c6c2305e7.tar.xz |
Make prtree benchmark use a more realistic ray.
-rw-r--r-- | bench/libdimension/prtree.c | 4 |
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; |