[add] IMGUI 수정 2차

This commit is contained in:
kimnuri
2025-12-14 12:32:17 +09:00
parent ae439ab693
commit 4fa5c4810f
2 changed files with 1 additions and 5 deletions
@@ -51,10 +51,6 @@ void CCallBack_Troll_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hit)
class CUnit* pOwner = (CUnit*)m_pController->Get_Owner();
_vector vLook = pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK);
_float fDot = XMVectorGetX(XMVector3Dot(XMLoadFloat3((_float3*)&vDir), vLook));
#ifdef _DEBUG
GUI::Text("DOTDOT %f", fDot);
#endif // _DEBUG
if (fDot > cosf(XM_PIDIV4) && vWorldPos.y >= XMVectorGetY(pOwnerActorData->pCharacter->Get_Position()) - FLT_EPSILON3) {
CModel* pModel = pOwner->Get_Component<CModel>();
_uint iAnimIndex = pModel->Get_AnimIndex();
+1 -1
View File
@@ -38,7 +38,6 @@ void CRenderer::Render()
#ifdef _DEBUG
static _bool m_bToggleDebug = false;
GUI::Checkbox("DebugToggle", &m_bToggleDebug);
Describe_Entitiy();
m_pGameInstance->RenderTarget_Debuger();
@@ -47,6 +46,7 @@ void CRenderer::Render()
}
else {
GUI::Begin("RenderTarget Debuger");
GUI::Checkbox("DebugToggle", &m_bToggleDebug);
if (m_bToggleDebug) {
Render_Debug();
}