diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-03-22 16:36:07 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:51 +0100 |
commit | f565f417f386c5d13f73da8b3eca19847dc4367c (patch) | |
tree | b97a90936792fdfe382a0f703d643ca623468f6d /src/utils/rectangle.hpp | |
parent | 4f31d71c8164a84a45aa1e2408e0e2cb54ff30bb (diff) | |
download | usdx-f565f417f386c5d13f73da8b3eca19847dc4367c.tar.gz usdx-f565f417f386c5d13f73da8b3eca19847dc4367c.tar.xz usdx-f565f417f386c5d13f73da8b3eca19847dc4367c.zip |
utils/dimension: added template for types of the metrics
Diffstat (limited to 'src/utils/rectangle.hpp')
-rw-r--r-- | src/utils/rectangle.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/rectangle.hpp b/src/utils/rectangle.hpp index e2fddc78..016e86d3 100644 --- a/src/utils/rectangle.hpp +++ b/src/utils/rectangle.hpp @@ -56,7 +56,7 @@ namespace usdx { } - Rectangle(const Point<T>& point1, const Dimension& dimension) : + Rectangle(const Point<T>& point1, const Dimension<T>& dimension) : point1(point1), point2(point1.get_x() + dimension.get_width(), point1.get_y() + dimension.get_height()) |