X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fgeometry%2Fhalfspace.h;h=9fdcdadfbd02b0dec41ef88c3e97539013cf2cbd;hb=44bd1d1ab256d397be4e2169c4ca5efdd0569d31;hp=09ec62ce600b9258b1044a0113a61251f5c424aa;hpb=a29d2c17ca70a3ed5df1e863c92ccd851d5dba6b;p=libs%2Fmath.git diff --git a/source/geometry/halfspace.h b/source/geometry/halfspace.h index 09ec62c..9fdcdad 100644 --- a/source/geometry/halfspace.h +++ b/source/geometry/halfspace.h @@ -24,7 +24,7 @@ public: const LinAl::Vector &get_normal() const { return normal; } - virtual BoundingBox get_axis_aligned_bounding_box() const; + virtual BoundingBox get_axis_aligned_bounding_box(unsigned = 0) const; virtual bool contains(const LinAl::Vector &) const; virtual unsigned get_max_ray_intersections() const { return 1; } virtual unsigned get_intersections(const Ray &, SurfacePoint *, unsigned) const; @@ -49,7 +49,7 @@ inline HalfSpace *HalfSpace::clone() const } template -inline BoundingBox HalfSpace::get_axis_aligned_bounding_box() const +inline BoundingBox HalfSpace::get_axis_aligned_bounding_box(unsigned) const { // XXX If the normal is aligned to an axis, should the bounding box reflect that? return ~BoundingBox();