[Fix] 고블린 마법사 상태 추가

This commit is contained in:
hyunbin14
2025-12-09 22:06:34 +09:00
parent d85071dddd
commit 6d38fd2f19
22 changed files with 386 additions and 102 deletions
@@ -143,13 +143,13 @@ void CEffectObject::Add_Light()
m_pGameInstance->Add_Light(CURRENT_LEVEL, m_pLightCom);
}
void CEffectObject::FollowParants(const _float4x4* pParantsMat)
void CEffectObject::FollowParents(const _float4x4* pParentsMat)
{
if (pParantsMat == nullptr)
if (pParentsMat == nullptr)
return;
m_pPerentMatrix = pParantsMat;
m_pParentMatrix = pParentsMat;
m_bVisible = true;
}
@@ -498,10 +498,10 @@ HRESULT CEffectObject::Load(const _char* pFilePath, LEVEL eLevel)
HRESULT CEffectObject::Bind_ShaderResources()
{
if (m_pPerentMatrix != nullptr)
if (m_pParentMatrix != nullptr)
{
_matrix socketMatrix = XMLoadFloat4x4(m_pPerentMatrix);
_matrix socketMatrix = XMLoadFloat4x4(m_pParentMatrix);
for (int i = 0; i < 3; ++i) {
socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]);