From 5f822d0c9bdc3e9f6fce8bfa7bbf4206f1ebfc0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 30 Sep 2012 02:06:06 +0200 Subject: [PATCH] Fixed copypaste error in Matrix3::translation(). --- src/Math/Matrix3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Math/Matrix3.h b/src/Math/Matrix3.h index 7be868204..a6a0b913f 100644 --- a/src/Math/Matrix3.h +++ b/src/Math/Matrix3.h @@ -137,7 +137,7 @@ template class Matrix3: public Matrix<3, T> { } /** @overload */ - inline constexpr Vector3 translation() const { + inline constexpr Vector2 translation() const { return (*this)[2].xy(); }