[add] Merge commit

This commit is contained in:
kimnuri
2026-01-01 12:09:30 +09:00
parent 816fc76ae3
commit 761b2dae62
4 changed files with 24 additions and 8 deletions
@@ -40,6 +40,7 @@ void CLevel_Loading::Update(_float fTimeDelta)
{
#ifdef _DEBUG
#ifdef 기무리
m_bNextLevel = true;
#elif Bin
m_bNextLevel = true;
#endif // 기무리
@@ -28,6 +28,7 @@ void CLevel_Logo::Update(_float fTimeDelta)
{
#ifdef _DEBUG
#ifdef 기무리
m_pGameInstance->Set_LevelToChange();
#elif Bin
m_pGameInstance->Set_LevelToChange();
#endif // 기무리
+4 -8
View File
@@ -221,7 +221,6 @@ void CPlayer::Late_Update(_float fTimeDelta)
////////////////////////////////////////////////////////////////////////////
#ifdef 기무리
#else Bin
if (nullptr == m_pRobePart) {
{
CPlayerRobe::PlayerRobe_DESC Desc{};
@@ -600,8 +599,6 @@ HRESULT CPlayer::Bind_ShaderParameters(_uint iMeshOrder)
iColorMixerMethod = 1;
break;
#ifdef _DEBUG
#ifdef 기무리
#elif Bin
case PLAYER_MESH_ORDER::ROBE_CLOTH:
{//if (FAILED(m_pModelCom->Bind_BoneMatrices(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH), m_pShaderCom, "g_BoneMatrices"))) {
// return E_FAIL;
@@ -622,8 +619,8 @@ HRESULT CPlayer::Bind_ShaderParameters(_uint iMeshOrder)
for (_uint i = 0; i < paletteCount; ++i)
{
_uint global = boneIndices[i];
if (global == 38)
continue;
//if (global == 38)
// continue;
if (globalMask[global] == 1)
{
SkinMatrices[i] = m_pRobePart->Get_RobeJointAnchorMatrix(temp++);
@@ -635,8 +632,8 @@ HRESULT CPlayer::Bind_ShaderParameters(_uint iMeshOrder)
for (_uint i = 0; i < paletteCount; ++i)
{
if (i == 29)
continue;
//if (i == 29)
// continue;
_uint global = boneIndices[i];
paletteMask[i] = globalMask[global];
}
@@ -678,7 +675,6 @@ HRESULT CPlayer::Bind_ShaderParameters(_uint iMeshOrder)
}
}
break;
#endif
#endif // _DEBUG
default:
@@ -13,6 +13,9 @@ CPlayerRobe::CPlayerRobe(const CPlayerRobe& Prototype)
}
void CPlayerRobe::Priority_Update(_float fTimeDelta)
{
#ifdef _DEBUG
Describe_Entity();
#endif // _DEBUG
}
void CPlayerRobe::Update(_float fTimeDelta)
@@ -55,6 +58,12 @@ HRESULT CPlayerRobe::Update_RobeSocketPosition()
PSX::PxTransform pxTransform = {};
_matrix WorldMatrix = {};
_matrix OwnerInvWorldMatrix = m_pParentTransformCom->Get_WorldMatrixInv();
{
pxTransform = m_pRobeMainAnchor->Get_GlobalPosition();
WorldMatrix = XMMatrixAffineTransformation(XMVectorSet(1.f, 1.f, 1.f, 0.f), XMVectorZero(), XMLoadFloat4((_float4*)&pxTransform.q), XMVectorSetW(XMLoadFloat3((_float3*)&pxTransform.p), 1.f));
_fmatrix LocalMatrix = WorldMatrix * OwnerInvWorldMatrix;
m_pModelCom->Set_BoneCombinedTransformation("Hips_Cloth", LocalMatrix);
}
for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) {
pxTransform = m_pRobeJointAnchor[i]->Get_GlobalPosition();
WorldMatrix = XMMatrixAffineTransformation(XMVectorSet(1.f, 1.f, 1.f, 0.f), XMVectorZero(), XMLoadFloat4((_float4*)&pxTransform.q), XMVectorSetW(XMLoadFloat3((_float3*)&pxTransform.p), 1.f));
@@ -654,6 +663,15 @@ void CPlayerRobe::Free()
void CPlayerRobe::Describe_Entity()
{
GUI::Begin("PhysX");
if (GUI::CollapsingHeader("Robe")) {
for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_ORDER::END); ++i) {
if (GUI::BeginChild("##i")) {
GUI::EndChild();
}
}
}
}
#endif // _DEBUG