X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgeometry%2Fbox.h;h=40f88dc4412bb805159fd72197f9c6406a43106b;hb=aa47cdf95914ae706b99a48d528260b3261f9882;hp=bfcfa2f6e02dc343461375f64713563b57750020;hpb=6ff13022b53830d35283905d562c2ef3af198cc1;p=libs%2Fmath.git diff --git a/source/geometry/box.h b/source/geometry/box.h index bfcfa2f..40f88dc 100644 --- a/source/geometry/box.h +++ b/source/geometry/box.h @@ -1,7 +1,6 @@ #ifndef MSP_GEOMETRY_BOX_H_ #define MSP_GEOMETRY_BOX_H_ -#include #include "hyperbox.h" namespace Msp { @@ -13,7 +12,7 @@ class Box: public HyperBox public: Box() { } explicit Box(const LinAl::Vector &d): HyperBox(d) { } - Box(T w, T h, T d): HyperBox(LinAl::Vector3(w, h, d)) { } + Box(T w, T h, T d): HyperBox(LinAl::Vector(w, h, d)) { } T get_width() const { return this->get_dimension(0); } T get_height() const { return this->get_dimension(1); }