Improved alignment of minifig arms. Fixes #242.

This commit is contained in:
Leonardo Zide 2019-11-07 16:17:26 -08:00
parent f266040633
commit 94e3ca1d9a

View file

@ -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);