diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-06-06 00:20:43 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-06-06 00:20:43 -0600 |
commit | 450eb86adf1d0634dd4c97bfc1bae405ca51f491 (patch) | |
tree | d4b778588318f33350983a263ea3a7cde7b6c665 /libdimension/plane.c | |
parent | 8452b0227e3b7bf6fc012309a49cd1a14de6ae3d (diff) | |
download | dimension-450eb86adf1d0634dd4c97bfc1bae405ca51f491.tar.xz |
New bounding box special constructors.
Diffstat (limited to 'libdimension/plane.c')
-rw-r--r-- | libdimension/plane.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libdimension/plane.c b/libdimension/plane.c index 76071df..ce39561 100644 --- a/libdimension/plane.c +++ b/libdimension/plane.c @@ -46,8 +46,7 @@ dmnsn_new_plane(dmnsn_vector normal) plane->intersection_fn = &dmnsn_plane_intersection_fn; plane->inside_fn = &dmnsn_plane_inside_fn; plane->free_fn = &free; - plane->bounding_box.min = dmnsn_new_vector(-INFINITY, -INFINITY, -INFINITY); - plane->bounding_box.max = dmnsn_new_vector(INFINITY, INFINITY, INFINITY); + plane->bounding_box = dmnsn_infinite_bounding_box(); plane->ptr = param; return plane; } |