X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fgeometry%2Fshape.h;h=bbe255f9054f919792ca748a7c25468b62bfabc8;hb=09cc3a8648dd20e9a07d669b353c4a120b67c1c4;hp=7b1d190b5a762b82c7213a012e58190c7ba8d66c;hpb=f7dcf3f0be55316bf20ac0c318dd90cb78a75c80;p=libs%2Fmath.git diff --git a/source/geometry/shape.h b/source/geometry/shape.h index 7b1d190..bbe255f 100644 --- a/source/geometry/shape.h +++ b/source/geometry/shape.h @@ -8,7 +8,7 @@ namespace Msp { namespace Geometry { template -class HyperBox; +class BoundingBox; template class Ray; @@ -31,7 +31,7 @@ public: virtual Shape *clone() const = 0; - virtual HyperBox get_axis_aligned_bounding_box() const = 0; + virtual BoundingBox get_axis_aligned_bounding_box() const = 0; virtual bool contains(const LinAl::Vector &) const = 0; bool check_intersection(const Ray &) const; virtual unsigned get_max_ray_intersections() const = 0;