summaryrefslogtreecommitdiffstats
path: root/tests/libdimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-04-06 01:24:42 -0400
committerTavian Barnes <tavianator@gmail.com>2010-04-06 01:24:42 -0400
commitb7405924923986314b09460995c2ebce3b717100 (patch)
treeb1bd9c4defdbaabda88e90af69d4ea9dfa75a817 /tests/libdimension
parente328a1d560b7924084b7a45160a75f2a0d3a6e27 (diff)
downloaddimension-b7405924923986314b09460995c2ebce3b717100.tar.xz
New dmnsn_bounding_box type.
Diffstat (limited to 'tests/libdimension')
-rw-r--r--tests/libdimension/bvst.c12
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();