X-Git-Url: http://git.tdb.fi/?p=libs%2Fmath.git;a=blobdiff_plain;f=source%2Fgeometry%2Fhyperbox.h;h=0e4efd81995508de416d37cffd6ad12e3bbf2184;hp=865b968902f078b25297138786f3602fbafa9260;hb=cc51208545c3941fcfdb078ad0c70c7fd607614e;hpb=643aa7b2317f88463f66da11e595ebe0f6c9621d diff --git a/source/geometry/hyperbox.h b/source/geometry/hyperbox.h index 865b968..0e4efd8 100644 --- a/source/geometry/hyperbox.h +++ b/source/geometry/hyperbox.h @@ -3,6 +3,7 @@ #include #include +#include #include #include "ray.h" #include "shape.h" @@ -47,7 +48,11 @@ inline HyperBox::HyperBox() template inline HyperBox::HyperBox(const LinAl::Vector &d): dimensions(d) -{ } +{ + for(unsigned i=0; i inline HyperBox *HyperBox::clone() const