From b350eb5f4d44e8448115796144375d79438d74ae Mon Sep 17 00:00:00 2001 From: Marijn Tamis Date: Fri, 28 Apr 2017 14:19:07 +0200 Subject: NvCloth 1.1.0 Release. (22041545) --- NvCloth/samples/SampleBase/ui/CommonUIController.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'NvCloth/samples/SampleBase/ui/CommonUIController.cpp') diff --git a/NvCloth/samples/SampleBase/ui/CommonUIController.cpp b/NvCloth/samples/SampleBase/ui/CommonUIController.cpp index 0c0cac8..63284a2 100644 --- a/NvCloth/samples/SampleBase/ui/CommonUIController.cpp +++ b/NvCloth/samples/SampleBase/ui/CommonUIController.cpp @@ -89,12 +89,7 @@ LRESULT CommonUIController::MsgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM int iKeyPressed = static_cast(wParam); switch (iKeyPressed) { - case 'P': - { - //getPhysXController().setPaused(!getPhysXController().isPaused()); - break; - } - case 'O': + case 'B': { getRenderer().setWireframeMode(!getRenderer().getWireframeMode()); break; @@ -226,7 +221,7 @@ void CommonUIController::drawUI() { // WireFrame bool wireFrameEnabled = getRenderer().getWireframeMode(); - if (ImGui::Checkbox("WireFrame (O)", &wireFrameEnabled)) + if (ImGui::Checkbox("WireFrame (B)", &wireFrameEnabled)) { getRenderer().setWireframeMode(wireFrameEnabled); } -- cgit v1.2.3