From 8f47add99273e5b80b2a90f45f5e8f70a63f4546 Mon Sep 17 00:00:00 2001 From: SpicyGangjeong <124319862+SpicyGangjeong@users.noreply.github.com> Date: Sun, 31 May 2026 11:56:59 +0900 Subject: [PATCH] a2 --- .../Client/Private/Goblin_Assassin_States.cpp | 4 ++-- .../Client/Private/Goblin_Mage_States.cpp | 2 +- .../Client/Private/Goblin_States.cpp | 4 ++-- .../Client/Private/PhysXEffectHitBox.cpp | 2 +- .../Client/Private/Player_States.cpp | 2 +- .../Client/Private/Ranrok_States.cpp | 2 +- .../Editor/Private/Dummy_PhysXEffectHitBox.cpp | 2 +- .../Editor/Private/Dummy_PhysXMonster.cpp | 8 ++++---- .../Editor/Private/Dummy_PhysXPlayable.cpp | 14 +++++++------- .../Editor/Private/Goblin_States.cpp | 2 +- .../Engine/Private/GameInstance.cpp | 18 +++++++++--------- 11 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp index 0fc457b47..f97faabfe 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp @@ -375,7 +375,7 @@ HRESULT CGoblin_Assassin::Behavior_DashExitCheck(_float fTimeDelta) _float4 RootMomentum = m_pModelCom->Get_RootBoneMomentum(); _vector RootDelta = XMLoadFloat4(&RootMomentum); _float dashDist = XMVectorGetX(XMVector3Length(RootDelta)); - m_pTransformCom->AccumulatevVelocity(XMLoadFloat4(&m_vDashDir) * dashDist * 1.5f); + m_pTransformCom->AccumulateVelocity(XMLoadFloat4(&m_vDashDir) * dashDist * 1.5f); if (fRatio >= 0.7f) { @@ -974,7 +974,7 @@ void CGoblin_Assassin::HitState_Behavior(_float fTimeDelta) _float ease = 1.f - (t * t); _vector Force = vPlayerLook * fTimeDelta * 6.f * ease; - m_pTransformCom->AccumulatevVelocity(Force); + m_pTransformCom->AccumulateVelocity(Force); pairAnimInfo = m_Animation[STATEANIM::TUMBLE]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 0.6f, false, 0.8f); } diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp index cc5c47370..5fc9c197b 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp @@ -859,7 +859,7 @@ void CGoblin_Mage::HitState_Behavior(_float fTimeDelta) _float ease = 1.f - (t * t); _vector Force = vPlayerLook * fTimeDelta * 6.f * ease; - m_pTransformCom->AccumulatevVelocity(Force); + m_pTransformCom->AccumulateVelocity(Force); pairAnimInfo = m_Animation[STATEANIM::TUMBLE]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 0.6f, false, 0.8f); } diff --git a/Jusin154_Team3D/Client/Private/Goblin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_States.cpp index 01a066c24..478aa2824 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_States.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_States.cpp @@ -313,7 +313,7 @@ HRESULT CGoblin::Behavior_SwingExitCheck(_float fTimeDelta) vDistance = XMVector4Normalize(vDistance); _float step = dist - fDesiredRange; - m_pTransformCom->AccumulatevVelocity(vDistance * step * fTimeDelta * 2.f); + m_pTransformCom->AccumulateVelocity(vDistance * step * fTimeDelta * 2.f); } } @@ -938,7 +938,7 @@ void CGoblin::HitState_Behavior(_float fTimeDelta) _float ease = 1.f - (t * t); _vector Force = vPlayerLook * fTimeDelta * 6.f * ease; - m_pTransformCom->AccumulatevVelocity(Force); + m_pTransformCom->AccumulateVelocity(Force); pairAnimInfo = m_Animation[STATEANIM::TUMBLE]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 0.6f, false, 0.8f); } diff --git a/Jusin154_Team3D/Client/Private/PhysXEffectHitBox.cpp b/Jusin154_Team3D/Client/Private/PhysXEffectHitBox.cpp index 18977f62a..fd118d456 100644 --- a/Jusin154_Team3D/Client/Private/PhysXEffectHitBox.cpp +++ b/Jusin154_Team3D/Client/Private/PhysXEffectHitBox.cpp @@ -38,7 +38,7 @@ void CPhysXEffectHitBox::Priority_Update(_float fTimeDelta) void CPhysXEffectHitBox::Update(_float fTimeDelta) { - m_pTransformCom->AccumulatevVelocity(XMLoadFloat3(&m_vDeltaPos)); + m_pTransformCom->AccumulateVelocity(XMLoadFloat3(&m_vDeltaPos)); } void CPhysXEffectHitBox::Late_Update(_float fTimeDelta) diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index eee95f257..71d4980de 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -596,7 +596,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) } _vector vLook = m_pTransformCom->Get_State(STATE::LOOK); vLook = XMVector3Normalize(vLook); - m_pTransformCom->AccumulatevVelocity(vLook *fTimeDelta *0.8f); + m_pTransformCom->AccumulateVelocity(vLook *fTimeDelta *0.8f); } else if (SUCCEEDED(InputMove())) { m_fMoveTime += fTimeDelta; diff --git a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp index 071575515..7654ecbb6 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp @@ -803,7 +803,7 @@ HRESULT CRanrok::Behavior_RushExitCheck(_float fTimeDelta) vLook = XMVector3Normalize(vLook); _vector vPos = m_pCharacter_Controller->Get_Position(); _vector vNextPos = vPos + vLook * 10.f * fTimeDelta; - m_pTransformCom->AccumulatevVelocity(vLook * 10.f * fTimeDelta); + m_pTransformCom->AccumulateVelocity(vLook * 10.f * fTimeDelta); return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/Dummy_PhysXEffectHitBox.cpp b/Jusin154_Team3D/Editor/Private/Dummy_PhysXEffectHitBox.cpp index 081a4787f..754ce89e5 100644 --- a/Jusin154_Team3D/Editor/Private/Dummy_PhysXEffectHitBox.cpp +++ b/Jusin154_Team3D/Editor/Private/Dummy_PhysXEffectHitBox.cpp @@ -39,7 +39,7 @@ void CDummy_PhysXEffectHitBox::Priority_Update(_float fTimeDelta) void CDummy_PhysXEffectHitBox::Update(_float fTimeDelta) { - m_pTransformCom->AccumulatevVelocity(XMLoadFloat3(&m_vDeltaPos)); + m_pTransformCom->AccumulateVelocity(XMLoadFloat3(&m_vDeltaPos)); } void CDummy_PhysXEffectHitBox::Late_Update(_float fTimeDelta) diff --git a/Jusin154_Team3D/Editor/Private/Dummy_PhysXMonster.cpp b/Jusin154_Team3D/Editor/Private/Dummy_PhysXMonster.cpp index dfcb97ee6..d48cdff1e 100644 --- a/Jusin154_Team3D/Editor/Private/Dummy_PhysXMonster.cpp +++ b/Jusin154_Team3D/Editor/Private/Dummy_PhysXMonster.cpp @@ -26,16 +26,16 @@ void CDummy_PhysXMonster::Update(_float fTimeDelta) GUI::Text("%f %f", m_vStunTimer.x, m_vStunTimer.y); if (true == m_pCharacter_Controller->IsActive()) { if (m_pGameInstance->Key_Pressing(DIK_UPARROW)) { - m_pTransformCom->AccumulatevVelocity(XMVectorSet(0.f, 0.f, 1.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); + m_pTransformCom->AccumulateVelocity(XMVectorSet(0.f, 0.f, 1.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); } if (m_pGameInstance->Key_Pressing(DIK_LEFT)) { - m_pTransformCom->AccumulatevVelocity(XMVectorSet(-1.f, 0.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); + m_pTransformCom->AccumulateVelocity(XMVectorSet(-1.f, 0.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); } if (m_pGameInstance->Key_Pressing(DIK_DOWN)) { - m_pTransformCom->AccumulatevVelocity(XMVectorSet(0.f, 0.f, -1.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); + m_pTransformCom->AccumulateVelocity(XMVectorSet(0.f, 0.f, -1.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); } if (m_pGameInstance->Key_Pressing(DIK_RIGHT)) { - m_pTransformCom->AccumulatevVelocity(XMVectorSet(1.f, 0.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); + m_pTransformCom->AccumulateVelocity(XMVectorSet(1.f, 0.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); } m_pCharacter_Controller->Move(fTimeDelta); m_vStunTimer.x = 0.f; diff --git a/Jusin154_Team3D/Editor/Private/Dummy_PhysXPlayable.cpp b/Jusin154_Team3D/Editor/Private/Dummy_PhysXPlayable.cpp index 4e67c8a17..a44130a6d 100644 --- a/Jusin154_Team3D/Editor/Private/Dummy_PhysXPlayable.cpp +++ b/Jusin154_Team3D/Editor/Private/Dummy_PhysXPlayable.cpp @@ -28,23 +28,23 @@ void CDummy_PhysXPlayable::Priority_Update(_float fTimeDelta) void CDummy_PhysXPlayable::Update(_float fTimeDelta) { if (m_pGameInstance->Key_Pressing(DIK_UPARROW)) { - m_pTransformCom->AccumulatevVelocity(XMVectorSet(0.f, 0.f, 1.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); + m_pTransformCom->AccumulateVelocity(XMVectorSet(0.f, 0.f, 1.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); } if (m_pGameInstance->Key_Pressing(DIK_LEFT)) { - m_pTransformCom->AccumulatevVelocity(XMVectorSet(-1.f, 0.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); + m_pTransformCom->AccumulateVelocity(XMVectorSet(-1.f, 0.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); } if (m_pGameInstance->Key_Pressing(DIK_DOWN)) { - m_pTransformCom->AccumulatevVelocity(XMVectorSet(0.f, 0.f, -1.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); + m_pTransformCom->AccumulateVelocity(XMVectorSet(0.f, 0.f, -1.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); } if (m_pGameInstance->Key_Pressing(DIK_RIGHT)) { - m_pTransformCom->AccumulatevVelocity(XMVectorSet(1.f, 0.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); + m_pTransformCom->AccumulateVelocity(XMVectorSet(1.f, 0.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); } if (m_pGameInstance->Key_Pressing(DIK_LCONTROL)) { if (m_pGameInstance->Key_Pressing(DIK_SPACE)) { - m_pTransformCom->AccumulatevVelocity(XMVectorSet(0.f, 10.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); + m_pTransformCom->AccumulateVelocity(XMVectorSet(0.f, 10.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); } if (m_pGameInstance->Key_Pressing(DIK_C)) { - m_pTransformCom->AccumulatevVelocity(XMVectorSet(0.f, -10.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); + m_pTransformCom->AccumulateVelocity(XMVectorSet(0.f, -10.f, 0.f, 0.f) * m_pTransformCom->Get_Speed() * fTimeDelta); } if (m_pGameInstance->Key_Down(DIK_V)) { m_pGameInstance->Detach_Actor(*m_pCharacter_Controller->Get_Actor(), m_pGameInstance->Get_CurrentLevelID()); @@ -56,7 +56,7 @@ void CDummy_PhysXPlayable::Update(_float fTimeDelta) } } - m_pTransformCom->AccumulatevVelocity(XMVectorSet(0.f, -GRAVITY * fTimeDelta, 0.f, 0.f)); + m_pTransformCom->AccumulateVelocity(XMVectorSet(0.f, -GRAVITY * fTimeDelta, 0.f, 0.f)); m_pCharacter_Controller->Move(fTimeDelta); } diff --git a/Jusin154_Team3D/Editor/Private/Goblin_States.cpp b/Jusin154_Team3D/Editor/Private/Goblin_States.cpp index e9ff0020b..28f3da7ec 100644 --- a/Jusin154_Team3D/Editor/Private/Goblin_States.cpp +++ b/Jusin154_Team3D/Editor/Private/Goblin_States.cpp @@ -210,7 +210,7 @@ HRESULT CGoblin::Behavior_SwingExitCheck(_float fTimeDelta) vDistance = XMVector4Normalize(vDistance); _float step = dist - fDesiredRange; - m_pTransformCom->AccumulatevVelocity(vDistance * step * fTimeDelta * 1.5f); + m_pTransformCom->AccumulateVelocity(vDistance * step * fTimeDelta * 1.5f); } } diff --git a/Jusin154_Team3D/Engine/Private/GameInstance.cpp b/Jusin154_Team3D/Engine/Private/GameInstance.cpp index 82c98ec33..9220ebf4a 100644 --- a/Jusin154_Team3D/Engine/Private/GameInstance.cpp +++ b/Jusin154_Team3D/Engine/Private/GameInstance.cpp @@ -355,15 +355,15 @@ void CGameInstance::Compute_TimeDelta(const _wstring& strTimerTag) void CGameInstance::Compute_FrameCount() { #ifdef _DEBUG - m_fTimer_PriorityUpdate = Get_TimeDelta(TEXT("Timer_PriorityUpdate")); - m_fTimer_Update = Get_TimeDelta(TEXT("Timer_Update")); - m_fTimer_LateUpdate = Get_TimeDelta(TEXT("Timer_LateUpdate")); - m_fTimer_DrawCall = Get_TimeDelta(TEXT("Timer_DrawCall")); - m_fTimer_Present = Get_TimeDelta(TEXT("Timer_Present")); - m_fTimer_Picking = Get_TimeDelta(TEXT("Timer_Picking")); - m_fTimer_PhysX = Get_TimeDelta(TEXT("Timer_PhysX")); - m_fTimer_Level = Get_TimeDelta(TEXT("Timer_Level")); - m_fTimer_FrameCount = Get_TimeDelta(TEXT("Timer_FrameCount")); + m_fTimer_PriorityUpdate = Get_TimeDelta(TEXT("Timer_PriorityUpdate")); + m_fTimer_Update = Get_TimeDelta(TEXT("Timer_Update")); + m_fTimer_LateUpdate = Get_TimeDelta(TEXT("Timer_LateUpdate")); + m_fTimer_DrawCall = Get_TimeDelta(TEXT("Timer_DrawCall")); + m_fTimer_Present = Get_TimeDelta(TEXT("Timer_Present")); + m_fTimer_Picking = Get_TimeDelta(TEXT("Timer_Picking")); + m_fTimer_PhysX = Get_TimeDelta(TEXT("Timer_PhysX")); + m_fTimer_Level = Get_TimeDelta(TEXT("Timer_Level")); + m_fTimer_FrameCount = Get_TimeDelta(TEXT("Timer_FrameCount")); m_fTimer_Render_Priority = Get_TimeDelta(TEXT("Timer_Render_Priority")); m_fTimer_Render_Shadow = Get_TimeDelta(TEXT("Timer_Render_Shadow"));