diff options
Diffstat (limited to 'NvCloth/samples/SampleBase/ui/CommonUIController.cpp')
| -rw-r--r-- | NvCloth/samples/SampleBase/ui/CommonUIController.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
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<int>(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); } |