[Fix] 란록 머리돌리기 수정
This commit is contained in:
@@ -164,11 +164,7 @@ void CChannel::Update_TransformationMatirx(
|
||||
vTranslation = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&vSourTranslation), XMLoadFloat3(&vDestTranslation), fRatio), 1.f);
|
||||
|
||||
}
|
||||
/*if (!bIsSpine)
|
||||
{
|
||||
m_IsUpper = BoneMask[m_iBoneIndex];
|
||||
m_ilayerIndex = m_IsUpper ? 1 : 0;
|
||||
}*/
|
||||
|
||||
if (m_iBoneIndex == RootBoneIndex)
|
||||
{
|
||||
if (vector)
|
||||
@@ -185,23 +181,6 @@ void CChannel::Update_TransformationMatirx(
|
||||
XMMatrixAffineTransformation(vScale, XMVectorSet(0.f, 0.f, 0.f, 1.f), vRotation, vTranslation);
|
||||
|
||||
Bones[m_iBoneIndex]->Set_TransformationMatrix(m_BoneTransformationMatrix);
|
||||
//if (bIsSpine)
|
||||
//{
|
||||
// m_BoneTransformationMatrix =
|
||||
// XMMatrixAffineTransformation(vScale, XMVectorSet(0.f, 0.f, 0.f, 1.f), vRotation, vTranslation);
|
||||
|
||||
// Bones[m_iBoneIndex]->Set_TransformationMatrix(m_BoneTransformationMatrix);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// if (m_ilayerIndex == 1)
|
||||
// {
|
||||
// m_BoneTransformationMatrix =
|
||||
// XMMatrixAffineTransformation(vScale, XMVectorSet(0.f, 0.f, 0.f, 1.f), vRotation, vTranslation);
|
||||
|
||||
// Bones[m_iBoneIndex]->Set_TransformationMatrix(m_BoneTransformationMatrix);
|
||||
// }
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user