From fb7a18b520b291e8a8c3d124729ce25ada5d5b42 Mon Sep 17 00:00:00 2001 From: qordlsgur <127704460+qordlsgur@users.noreply.github.com> Date: Sat, 3 Jan 2026 20:12:24 +0900 Subject: [PATCH] =?UTF-8?q?[Modify]=20=5Fvector=20=5Ffloat4=EB=A1=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jusin154_Team3D/Editor/Private/Ride_BboosterBar.cpp | 2 ++ Jusin154_Team3D/Editor/Private/Ride_Panel.cpp | 4 +--- Jusin154_Team3D/Editor/Private/SpellLearn_Data.cpp | 4 ++-- Jusin154_Team3D/Editor/Private/SpellLearn_MovePointer.cpp | 2 +- Jusin154_Team3D/Editor/Private/SpellLearn_Panel.cpp | 8 ++++---- Jusin154_Team3D/Editor/Public/Ride_Panel.h | 2 -- Jusin154_Team3D/Editor/Public/SpellLearn.h | 2 +- Jusin154_Team3D/Editor/Public/SpellLearn_ChaserPointer.h | 2 +- Jusin154_Team3D/Editor/Public/SpellLearn_LookPointer.h | 2 +- Jusin154_Team3D/Editor/Public/SpellLearn_MovePointer.h | 4 ++-- 10 files changed, 15 insertions(+), 17 deletions(-) diff --git a/Jusin154_Team3D/Editor/Private/Ride_BboosterBar.cpp b/Jusin154_Team3D/Editor/Private/Ride_BboosterBar.cpp index b06c5b922..7e1c71227 100644 --- a/Jusin154_Team3D/Editor/Private/Ride_BboosterBar.cpp +++ b/Jusin154_Team3D/Editor/Private/Ride_BboosterBar.cpp @@ -326,6 +326,8 @@ void CRide_BboosterBar::Free() __super::Free(); SAFE_RELEASE(m_pDiffuse_TextureCom); + SAFE_RELEASE(m_pDiffuse_TextureCom1); + SAFE_RELEASE(m_pDiffuse_TextureCom2); SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pVIBufferCom); } diff --git a/Jusin154_Team3D/Editor/Private/Ride_Panel.cpp b/Jusin154_Team3D/Editor/Private/Ride_Panel.cpp index 7e0fa845a..19e1d762e 100644 --- a/Jusin154_Team3D/Editor/Private/Ride_Panel.cpp +++ b/Jusin154_Team3D/Editor/Private/Ride_Panel.cpp @@ -54,7 +54,7 @@ HRESULT CRide_Panel::Initialize(void* pArg) m_fAlphaTime = 3.f; Visible(false); ElementAllVisible(true); - m_vLerp_Position = XMVectorSet(1750.f, m_fY, 0.f, 1.f); + m_vLerp_Position = _float4(1750.f, m_fY, 0.f, 1.f); static_cast(m_pRide_Info)->Visible(false); static_cast(m_pRide_InfoBG)->Visible(false); return S_OK; @@ -243,8 +243,6 @@ void CRide_Panel::Free() { __super::Free(); - SAFE_RELEASE(m_pDiffuse_TextureCom); - SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pVIBufferCom); } diff --git a/Jusin154_Team3D/Editor/Private/SpellLearn_Data.cpp b/Jusin154_Team3D/Editor/Private/SpellLearn_Data.cpp index 2456abd27..6b947e721 100644 --- a/Jusin154_Team3D/Editor/Private/SpellLearn_Data.cpp +++ b/Jusin154_Team3D/Editor/Private/SpellLearn_Data.cpp @@ -63,7 +63,7 @@ HRESULT CSpellLearn_Data::Initialize(void* pArg) _float px{}, py{}; pPos->QueryFloatAttribute("x", &px); pPos->QueryFloatAttribute("y", &py); - Info.Booster.push_back(XMVectorSet(px, py, 0.f, 1.f)); + Info.Booster.push_back(_float4(px, py, 0.f, 1.f)); } // 다음 Position으로 이동 @@ -80,7 +80,7 @@ HRESULT CSpellLearn_Data::Initialize(void* pArg) _float px{}, py{}; pPos->QueryFloatAttribute("x", &px); pPos->QueryFloatAttribute("y", &py); - Info.Lines.push_back(XMVectorSet(px, py, 0.f, 1.f)); + Info.Lines.push_back(_float4(px, py, 0.f, 1.f)); } // 다음 Position으로 이동 diff --git a/Jusin154_Team3D/Editor/Private/SpellLearn_MovePointer.cpp b/Jusin154_Team3D/Editor/Private/SpellLearn_MovePointer.cpp index e87b2b30c..055480708 100644 --- a/Jusin154_Team3D/Editor/Private/SpellLearn_MovePointer.cpp +++ b/Jusin154_Team3D/Editor/Private/SpellLearn_MovePointer.cpp @@ -82,7 +82,7 @@ void CSpellLearn_MovePointer::Line(_float fTime, _float2 fMouse) if (m_iCurrentLine < m_iLineIndex - 1) { ++m_iCurrentLine; - m_fPerPosition = _float2(m_MoveLine[m_iCurrentLine - 1].m128_f32[0], m_MoveLine[m_iCurrentLine - 1].m128_f32[1]); + m_fPerPosition = _float2(m_MoveLine[m_iCurrentLine - 1].x, m_MoveLine[m_iCurrentLine - 1].y); } else { diff --git a/Jusin154_Team3D/Editor/Private/SpellLearn_Panel.cpp b/Jusin154_Team3D/Editor/Private/SpellLearn_Panel.cpp index be6ab523c..edef19630 100644 --- a/Jusin154_Team3D/Editor/Private/SpellLearn_Panel.cpp +++ b/Jusin154_Team3D/Editor/Private/SpellLearn_Panel.cpp @@ -55,8 +55,8 @@ HRESULT CSpellLearn_Panel::Initialize(void* pArg) for (size_t i = 0; i < m_pBooster.size(); ++i) { - static_cast(m_pBooster[i])->Move(Get_Learninfo(Index).Booster[i].m128_f32[0], - Get_Learninfo(Index).Booster[i].m128_f32[1]); + static_cast(m_pBooster[i])->Move(Get_Learninfo(Index).Booster[i].x, + Get_Learninfo(Index).Booster[i].y); } for (size_t i = 0; i < m_pBooster.size(); ++i) { @@ -86,8 +86,8 @@ void CSpellLearn_Panel::Set_Learn(_int Index) static_cast(m_pSpellLearn_Slot)->Set_SpellLearn(Index); for (size_t i = 0; i < m_pBooster.size(); ++i) { - static_cast(m_pBooster[i])->Move(Get_Learninfo(Index).Booster[i].m128_f32[0], - Get_Learninfo(Index).Booster[i].m128_f32[1]); + static_cast(m_pBooster[i])->Move(Get_Learninfo(Index).Booster[i].x, + Get_Learninfo(Index).Booster[i].y); static_cast(m_pBooster[i])->Reset(); } } diff --git a/Jusin154_Team3D/Editor/Public/Ride_Panel.h b/Jusin154_Team3D/Editor/Public/Ride_Panel.h index 6bb34e0e5..c10b00c4f 100644 --- a/Jusin154_Team3D/Editor/Public/Ride_Panel.h +++ b/Jusin154_Team3D/Editor/Public/Ride_Panel.h @@ -27,8 +27,6 @@ class CRide_Panel final : public CPanelObject virtual HRESULT Initialize(void* pArg) override; private: - CTexture* m_pDiffuse_TextureCom = { nullptr }; - CShader* m_pShaderCom = { nullptr }; CVIBuffer_Rect* m_pVIBufferCom = { nullptr }; CGameObject* m_pRide_Info_Key = { nullptr }; diff --git a/Jusin154_Team3D/Editor/Public/SpellLearn.h b/Jusin154_Team3D/Editor/Public/SpellLearn.h index 478448067..4dbc23168 100644 --- a/Jusin154_Team3D/Editor/Public/SpellLearn.h +++ b/Jusin154_Team3D/Editor/Public/SpellLearn.h @@ -55,7 +55,7 @@ class CSpellLearn final : public CElementObject _int m_iChaseiTrailIndex{}; vector<_float2> m_ChaseTrail; - vector<_vector> m_MoveLine; + vector<_float4> m_MoveLine; public: static CSpellLearn* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Editor/Public/SpellLearn_ChaserPointer.h b/Jusin154_Team3D/Editor/Public/SpellLearn_ChaserPointer.h index 319b5109d..b8be92d61 100644 --- a/Jusin154_Team3D/Editor/Public/SpellLearn_ChaserPointer.h +++ b/Jusin154_Team3D/Editor/Public/SpellLearn_ChaserPointer.h @@ -42,7 +42,7 @@ class CSpellLearn_ChaserPointer final : public CElementObject _int m_iLineIndex{}; _int m_iCurrentLine{}; - vector<_vector> m_MoveLine; + vector<_float4> m_MoveLine; public: static CSpellLearn_ChaserPointer* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Editor/Public/SpellLearn_LookPointer.h b/Jusin154_Team3D/Editor/Public/SpellLearn_LookPointer.h index ca0580012..620cb1a5a 100644 --- a/Jusin154_Team3D/Editor/Public/SpellLearn_LookPointer.h +++ b/Jusin154_Team3D/Editor/Public/SpellLearn_LookPointer.h @@ -38,7 +38,7 @@ class CSpellLearn_LookPointer final : public CElementObject _int m_iLineIndex{}; _int m_iCurrentLine{}; - vector<_vector> m_MoveLine; + vector<_float4> m_MoveLine; _float m_localX{}; _float m_localY{}; public: diff --git a/Jusin154_Team3D/Editor/Public/SpellLearn_MovePointer.h b/Jusin154_Team3D/Editor/Public/SpellLearn_MovePointer.h index 5a7c44978..05439c941 100644 --- a/Jusin154_Team3D/Editor/Public/SpellLearn_MovePointer.h +++ b/Jusin154_Team3D/Editor/Public/SpellLearn_MovePointer.h @@ -54,8 +54,8 @@ class CSpellLearn_MovePointer final : public CElementObject _int m_iLineIndex{}; _int m_iCurrentLine{}; - vector<_vector> m_MoveLine; - vector<_vector> m_Boosters; + vector<_float4> m_MoveLine; + vector<_float4> m_Boosters; public: static CSpellLearn_MovePointer* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;