diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-19 02:34:22 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-19 02:34:22 -0500 |
commit | 4dcb998baf07243838afcb4e202b7fd89399972e (patch) | |
tree | d4cbde7810ed2042ab4f8ef70024184f3511f5fb /bench/libdimension/kD_splay_tree.c | |
parent | 4c55801feb15617888472def76ca4d1a60b3a107 (diff) | |
download | dimension-4dcb998baf07243838afcb4e202b7fd89399972e.tar.xz |
Use dmnsn_new_*() rather than dmnsn_*_construct().
Diffstat (limited to 'bench/libdimension/kD_splay_tree.c')
-rw-r--r-- | bench/libdimension/kD_splay_tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/libdimension/kD_splay_tree.c b/bench/libdimension/kD_splay_tree.c index bb20a14..fffab69 100644 --- a/bench/libdimension/kD_splay_tree.c +++ b/bench/libdimension/kD_splay_tree.c @@ -146,8 +146,8 @@ main() /* dmnsn_kD_splay_search() */ - ray.x0 = dmnsn_vector_construct(0.0, 0.0, -2.0); - ray.n = dmnsn_vector_construct(0.0, 0.0, 1.0); + ray.x0 = dmnsn_new_vector(0.0, 0.0, -2.0); + ray.n = dmnsn_new_vector(0.0, 0.0, 1.0); dmnsn_delete_intersection((*objects[0]->intersection_fn)(objects[0], ray)); sandglass_bench_noprecache(&sandglass, { |