diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-04-06 01:24:42 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-04-06 01:24:42 -0400 |
commit | b7405924923986314b09460995c2ebce3b717100 (patch) | |
tree | b1bd9c4defdbaabda88e90af69d4ea9dfa75a817 /tests | |
parent | e328a1d560b7924084b7a45160a75f2a0d3a6e27 (diff) | |
download | dimension-b7405924923986314b09460995c2ebce3b717100.tar.xz |
New dmnsn_bounding_box type.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libdimension/bvst.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/libdimension/bvst.c b/tests/libdimension/bvst.c index e026977..33c737b 100644 --- a/tests/libdimension/bvst.c +++ b/tests/libdimension/bvst.c @@ -34,14 +34,14 @@ main() obj2 = dmnsn_new_object(); obj3 = dmnsn_new_object(); - obj1->min = dmnsn_new_vector(0.0, 0.0, 0.0); - obj1->max = dmnsn_new_vector(1.0, 1.0, 1.0); + obj1->bounding_box.min = dmnsn_new_vector(0.0, 0.0, 0.0); + obj1->bounding_box.max = dmnsn_new_vector(1.0, 1.0, 1.0); - obj2->min = dmnsn_new_vector(-2.0, -2.0, -2.0); - obj2->max = dmnsn_new_vector(1.0, 1.0, 1.0); + obj2->bounding_box.min = dmnsn_new_vector(-2.0, -2.0, -2.0); + obj2->bounding_box.max = dmnsn_new_vector(1.0, 1.0, 1.0); - obj3->min = dmnsn_new_vector(-1.0, -1.0, -1.0); - obj3->max = dmnsn_new_vector(0.0, 0.0, 0.0); + obj3->bounding_box.min = dmnsn_new_vector(-1.0, -1.0, -1.0); + obj3->bounding_box.max = dmnsn_new_vector(0.0, 0.0, 0.0); tree = dmnsn_new_bvst(); |