[add] 오브젝트 매니저 바로가기 뷰어 추가

[add] 피직스 스태틱 오브젝트 정리
This commit is contained in:
kimnuri
2025-11-14 12:03:22 +09:00
parent 8f00c7cea6
commit 747284e22f
23 changed files with 295 additions and 186 deletions
@@ -1,4 +1,4 @@
#include "pch.h"
#include "pch.h"
#include "GameInstance.h"
#include "Prototype_Manager.h"
#include "GameObject_Manager.h"
@@ -314,23 +314,23 @@ void CGameInstance::Present_TimeCost() const
float minY = 0.f;
float maxY = 0.025f;
//float threshold = 166.f / 250.f; // 약 0.664f
//float threshold = 166.f / 250.f; // 약 0.664f
ImVec2 graph_size(0, 80.0f);
ImVec2 start_pos = GUI::GetCursorScreenPos();
GUI::PlotLines("##FrameCount", values, IM_ARRAYSIZE(values), values_offset,
overlay, minY, maxY, ImVec2(0, 80.0f));
// PlotLines의 실제 표시 영역 가져오기
// PlotLines의 실제 표시 영역 가져오기
ImVec2 plot_min = GUI::GetItemRectMin();
ImVec2 plot_max = GUI::GetItemRectMax();
// 기준선 (60FPS)
float threshold = 1.0f / 60.0f; // 0.0166초
// 기준선 (60FPS)
float threshold = 1.0f / 60.0f; // 0.0166초
float normalized = (threshold - minY) / (maxY - minY);
float y = plot_max.y - normalized * (plot_max.y - plot_min.y);
// 빨간 선 그리기
// 빨간 선 그리기
ImDrawList* draw_list = GUI::GetWindowDrawList();
draw_list->AddLine(
ImVec2(plot_min.x, y),
@@ -525,6 +525,10 @@ const _float* CGameInstance::Get_CurrentCameraFar()
{
return m_pCamera_Manager->Get_CurrentCameraFar();
}
void CGameInstance::Force_CamPosition(_fvector vPos)
{
return m_pCamera_Manager->Force_CamPosition(vPos);
}
HRESULT CGameInstance::Ready_Shadow_Light(const SHADOW_LIGHT_DESC& Desc)
{
return m_pShadow->Ready_Shadow_Light(Desc);
@@ -561,7 +565,7 @@ SaveModel* CGameInstance::Load_SaveModel(const _char* filePath)
#pragma region PhysX_Manager
PSX::PxMaterial* CGameInstance::Get_Material(_float3* vMatInfo)
{
return m_pPhysX_Manager->Get_Material(vMatInfo);
return m_pPhysX_Manager->Create_Material(vMatInfo);
}
void CGameInstance::RegistTriMesh(const _char* pName, PSX::PxTriangleMesh* pPxTriMesh)