From 2fb56fe507175e5253d8776becf4cd2a769c0808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 15 Dec 2020 19:28:40 +0100 Subject: [PATCH] Math: accidentally used a float literal, causing warnings with Matrix3d. --- src/Magnum/Math/Matrix3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Math/Matrix3.h b/src/Magnum/Math/Matrix3.h index 2b9be6f7c..f225b5ee9 100644 --- a/src/Magnum/Math/Matrix3.h +++ b/src/Magnum/Math/Matrix3.h @@ -181,7 +181,7 @@ template class Matrix3: public Matrix3x3 { * @m_keywords{gluOrtho2D()} */ static Matrix3 projection(const Vector2& size) { - return scaling(2.0f/size); + return scaling(T(2.0)/size); } /**