From 94e3ca1d9aee95b41d00f71c4559367c2821c559 Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Thu, 7 Nov 2019 16:17:26 -0800 Subject: [PATCH] Improved alignment of minifig arms. Fixes #242. --- common/minifig.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/minifig.cpp b/common/minifig.cpp index 29dc33ee..b215cf83 100644 --- a/common/minifig.cpp +++ b/common/minifig.cpp @@ -523,7 +523,7 @@ void MinifigWizard::Calculate() Mat2 = lcMatrix44Identity(); else Mat2 = lcMatrix44RotationY(-LC_DTOR * 9.791f); - Mat2.SetTranslation(lcVector3(15.5f, 0, -8.0f)); + Mat2.SetTranslation(lcVector3(15.552f, 0, -8.88f)); Mat = lcMul(mSettings[LC_MFW_RARM][GetSelectionIndex(LC_MFW_RARM)].Offset, Mat); Mat = lcMul(Mat, Mat2); @@ -557,7 +557,7 @@ void MinifigWizard::Calculate() Mat2 = lcMatrix44Identity(); else Mat2 = lcMatrix44RotationY(LC_DTOR * 9.791f); - Mat2.SetTranslation(lcVector3(-15.5f, 0.0f, -8.0f)); + Mat2.SetTranslation(lcVector3(-15.552f, 0.0f, -8.88f)); Mat = lcMul(mSettings[LC_MFW_LARM][GetSelectionIndex(LC_MFW_LARM)].Offset, Mat); Mat = lcMul(Mat, Mat2);