From 0de0104abe36966006da328e565ce86721a761c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 25 Jul 2019 15:00:55 +0200 Subject: [PATCH] Math: return proper type from Range*D::scaledFromCenter(). --- src/Magnum/Math/Range.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Magnum/Math/Range.h b/src/Magnum/Math/Range.h index 763b68538..bb06ca9b4 100644 --- a/src/Magnum/Math/Range.h +++ b/src/Magnum/Math/Range.h @@ -334,6 +334,9 @@ template class Range { } \ Type scaled(const VectorType& scaling) const { \ return Range::scaled(scaling); \ + } \ + Type scaledFromCenter(const VectorType& scaling) const { \ + return Range::scaledFromCenter(scaling); \ } #endif