mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Fixed minifig hand accessories orientation.
This commit is contained in:
parent
f35a9ff1b6
commit
bc4ba07a42
1 changed files with 2 additions and 0 deletions
|
@ -431,6 +431,7 @@ void MinifigWizard::Calculate()
|
|||
Mat = lcMatrix44RotationZ(LC_DTOR * Angles[LC_MFW_RHANDA]);
|
||||
Mat.SetTranslation(lcVector3(0, -10.0f, 0));
|
||||
Mat = lcMul(mSettings[LC_MFW_RHANDA][GetSelectionIndex(LC_MFW_RHANDA)].Offset, Mat);
|
||||
Mat = lcMul(Mat, lcMatrix44RotationX(LC_DTOR * 15.0f));
|
||||
Matrices[LC_MFW_RHANDA] = lcMul(Mat, Matrices[LC_MFW_RHAND]);
|
||||
}
|
||||
|
||||
|
@ -464,6 +465,7 @@ void MinifigWizard::Calculate()
|
|||
Mat = lcMatrix44RotationZ(LC_DTOR * Angles[LC_MFW_LHANDA]);
|
||||
Mat.SetTranslation(lcVector3(0, -10.0f, 0));
|
||||
Mat = lcMul(mSettings[LC_MFW_LHANDA][GetSelectionIndex(LC_MFW_LHANDA)].Offset, Mat);
|
||||
Mat = lcMul(Mat, lcMatrix44RotationX(LC_DTOR * 15.0f));
|
||||
Matrices[LC_MFW_LHANDA] = lcMul(Mat, Matrices[LC_MFW_LHAND]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue