diff options
Diffstat (limited to 'tests/libdimension')
-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(); |