[Add] 듀얼리스트 마법추가

[Fix] 애니메이션2개 돌리기 수정
This commit is contained in:
hyunbin14
2026-01-07 14:33:51 +09:00
parent d4527ca10b
commit b3823baf97
36 changed files with 1748 additions and 140 deletions
+5 -5
View File
@@ -280,10 +280,11 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr
m_pVertexPositions = new _float3[m_iNumVertices];
ZeroMemory(m_pVertexPositions, sizeof(_float3) * m_iNumVertices);
#ifdef DEBUG
#ifdef EDITOR_PROJECT
m_VertexTexcoords = new _float2[m_iNumVertices];
ZeroMemory(m_VertexTexcoords, sizeof(_float2) * m_iNumVertices);
#endif // DEBUG
#endif // EDITOR_PROJECT
@@ -307,10 +308,9 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr
XMVector3Normalize(XMVector3TransformNormal(XMLoadFloat3(&pVertices[i].vBinormal), PreTransformMatrix)));
pVertices[i].vTexcoord = SaveMesh->Vertices[i].UV;
#ifdef DEBUG
#ifdef EDITOR_PROJECT
memcpy(&m_VertexTexcoords[i], &pVertices[i].vTexcoord, sizeof(_float2));
#endif
#endif // EDITOR_PROJECT
}
D3D11_SUBRESOURCE_DATA InitialVBData{};