X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgeometry%2Frectangle.h;h=dbebf8ab73d164f20367f37d2da476f39807e6db;hb=6843cbaeaca73ecdbebe852b7e7899ce48f8a83c;hp=296ba6c936c959dcb94bb0174b2a1457bd23b562;hpb=6ff13022b53830d35283905d562c2ef3af198cc1;p=libs%2Fmath.git diff --git a/source/geometry/rectangle.h b/source/geometry/rectangle.h index 296ba6c..dbebf8a 100644 --- a/source/geometry/rectangle.h +++ b/source/geometry/rectangle.h @@ -1,7 +1,6 @@ #ifndef MSP_GEOMETRY_RECTANGLE_H_ #define MSP_GEOMETRY_RECTANGLE_H_ -#include #include "hyperbox.h" namespace Msp { @@ -13,7 +12,7 @@ class Rectangle: public HyperBox public: Rectangle() { } explicit Rectangle(const LinAl::Vector &d): HyperBox(d) { } - Rectangle(T w, T h): HyperBox(LinAl::Vector2(w, h)) { } + Rectangle(T w, T h): HyperBox(LinAl::Vector(w, h)) { } T get_width() const { return this->get_dimension(0); } T get_height() const { return this->get_dimension(1); }