[Modify] _vector _float4로 수정
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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<CUIObject*>(m_pRide_Info)->Visible(false);
|
||||
static_cast<CUIObject*>(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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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으로 이동
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -55,8 +55,8 @@ HRESULT CSpellLearn_Panel::Initialize(void* pArg)
|
||||
|
||||
for (size_t i = 0; i < m_pBooster.size(); ++i)
|
||||
{
|
||||
static_cast<CSpellLearn_Booster*>(m_pBooster[i])->Move(Get_Learninfo(Index).Booster[i].m128_f32[0],
|
||||
Get_Learninfo(Index).Booster[i].m128_f32[1]);
|
||||
static_cast<CSpellLearn_Booster*>(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<CSpellLearn_Slot*>(m_pSpellLearn_Slot)->Set_SpellLearn(Index);
|
||||
for (size_t i = 0; i < m_pBooster.size(); ++i)
|
||||
{
|
||||
static_cast<CSpellLearn_Booster*>(m_pBooster[i])->Move(Get_Learninfo(Index).Booster[i].m128_f32[0],
|
||||
Get_Learninfo(Index).Booster[i].m128_f32[1]);
|
||||
static_cast<CSpellLearn_Booster*>(m_pBooster[i])->Move(Get_Learninfo(Index).Booster[i].x,
|
||||
Get_Learninfo(Index).Booster[i].y);
|
||||
static_cast<CSpellLearn_Booster*>(m_pBooster[i])->Reset();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user