오류잡음

This commit is contained in:
hyunbin14
2025-11-24 20:27:14 +09:00
parent f649fb3861
commit 543a7ea29f
10 changed files with 85 additions and 31 deletions
+13 -14
View File
@@ -60,6 +60,19 @@ HRESULT CChannel::Initialize(const vector<CBone*>& Bones, const aiNodeAnim* pAIC
return S_OK;
}
CChannel* CChannel::Create(const vector<CBone*>& Bones, const aiNodeAnim* pAIChannel)
{
CChannel* pInstance = new CChannel();
if (FAILED(pInstance->Initialize(Bones, pAIChannel))) {
MSG_BOX("Failed to Created : CChannel");
SAFE_RELEASE(pInstance);
}
return pInstance;
}
#endif
void CChannel::Fill_GPU_Keyframes(vector<KEYFRAME_DESC>& outKeyframes)
{
for (_uint i = 0; i < m_iNumKeyFrames; i++)
@@ -86,20 +99,6 @@ CHANNEL_DESC CChannel::Fill_GPU_ChannelDesc()
return desc;
}
CChannel* CChannel::Create(const vector<CBone*>& Bones, const aiNodeAnim* pAIChannel)
{
CChannel* pInstance = new CChannel();
if (FAILED(pInstance->Initialize(Bones, pAIChannel))) {
MSG_BOX("Failed to Created : CChannel");
SAFE_RELEASE(pInstance);
}
return pInstance;
}
#endif
HRESULT CChannel::Initialize(const vector<CBone*>& Bones, _uint iIndex)
{
m_iBoneIndex = iIndex;