X-Git-Url: http://git.tdb.fi/?p=libs%2Fmath.git;a=blobdiff_plain;f=source%2Fgeometry%2Fhypersphere.h;h=13e4278430b8b5e2a811974a1959d54dac8bd305;hp=8f21db1d78f40689cda50c40d7ccd18cb3aa93b8;hb=44bd1d1ab256d397be4e2169c4ca5efdd0569d31;hpb=a29d2c17ca70a3ed5df1e863c92ccd851d5dba6b diff --git a/source/geometry/hypersphere.h b/source/geometry/hypersphere.h index 8f21db1..13e4278 100644 --- a/source/geometry/hypersphere.h +++ b/source/geometry/hypersphere.h @@ -27,7 +27,7 @@ public: T get_radius() const { return radius; } - 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 2; } virtual unsigned get_intersections(const Ray &, SurfacePoint *, unsigned) const; @@ -49,7 +49,7 @@ inline HyperSphere *HyperSphere::clone() const } template -inline BoundingBox HyperSphere::get_axis_aligned_bounding_box() const +inline BoundingBox HyperSphere::get_axis_aligned_bounding_box(unsigned) const { LinAl::Vector extent; for(unsigned i=0; i