[add] 숄더뷰 카메라 추가

This commit is contained in:
kimnuri
2025-11-23 17:44:32 +09:00
parent 30b4a83fdd
commit d8c8a86eed
20 changed files with 528 additions and 90 deletions
+8 -3
View File
@@ -130,16 +130,21 @@ HRESULT CMainApp::Ready_IMGUI()
ImGui_ImplWin32_Init(g_hWnd);
ImGui_ImplDX11_Init(m_pDevice, m_pContext);
string strFontTag = "../Bin/Resources/Fonts/SHOWG.TTF";
//string strFontTag = "C:\\Windows\\Fonts\\malgun.ttf";
string strFontTag = "../Bin/Resources/Fonts/malgunsl.TTF";
ImFontConfig cfg;
cfg.OversampleH = 2; // 가독성 향상
cfg.OversampleV = 2;
cfg.PixelSnapH = true;
ifstream ifile;
ifile.open(strFontTag);
if (ifile)
{
font = io.Fonts->AddFontFromFileTTF(strFontTag.c_str(), 10.f, NULL, io.Fonts->GetGlyphRangesKorean());
font = io.Fonts->AddFontFromFileTTF(strFontTag.c_str(), 16.f, NULL, io.Fonts->GetGlyphRangesKorean());
}
IM_ASSERT(font != NULL);
io.FontDefault = font;
return S_OK;
}