From f0347fc8a90fa6d0b13cad6c1d04c0d44edc22ef Mon Sep 17 00:00:00 2001 From: Alessandro Muntoni Date: Thu, 23 Nov 2023 17:53:29 +0100 Subject: [PATCH] fix transform scale --- include/vclib/math/transform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vclib/math/transform.h b/include/vclib/math/transform.h index a1851f8aa..a1d88e0b4 100644 --- a/include/vclib/math/transform.h +++ b/include/vclib/math/transform.h @@ -103,7 +103,7 @@ template void setTrasformMatrixScale(MatrixType& matrix, const PointType& scale) { matrix(0, 0) = scale[0]; - matrix(1, 1) = scale[0]; + matrix(1, 1) = scale[1]; matrix(2, 2) = scale[2]; matrix(3, 3) = 1; }