diff options
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; } |