From 96ae04767c90635123e439a4d2aadfac9cb7f09a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 20 Jun 2017 20:32:02 -0700 Subject: [PATCH] Cleanup. --- examples/14-shadowvolumes/shadowvolumes.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/14-shadowvolumes/shadowvolumes.cpp b/examples/14-shadowvolumes/shadowvolumes.cpp index ddb3623f3..2e0caebab 100644 --- a/examples/14-shadowvolumes/shadowvolumes.cpp +++ b/examples/14-shadowvolumes/shadowvolumes.cpp @@ -2145,7 +2145,7 @@ class ExampleShadowVolumes : public entry::AppI , ImVec2(256.0f, 700.0f) , ImGuiWindowFlags_AlwaysAutoResize ); - + const char* titles[2] = { "Scene 0", @@ -2165,12 +2165,12 @@ class ExampleShadowVolumes : public entry::AppI ImGui::SliderInt("Lights", &m_settings_numLights, 1, MAX_LIGHTS_COUNT); ImGui::Checkbox("Update lights", &m_settings_updateLights); ImGui::Indent(); - + if (ImGui::RadioButton("Light pattern 0", LightPattern0 == m_lightPattern) ) { m_lightPattern = LightPattern0; } - + if (ImGui::RadioButton("Light pattern 1", LightPattern1 == m_lightPattern) ) { m_lightPattern = LightPattern1; @@ -2184,7 +2184,7 @@ class ExampleShadowVolumes : public entry::AppI } ImGui::Separator(); - + ImGui::Text("Stencil buffer implementation:"); ImGui::Checkbox("Mixed", &m_settings_mixedSvImpl); if (!m_settings_mixedSvImpl) @@ -2247,14 +2247,14 @@ class ExampleShadowVolumes : public entry::AppI , ImVec2(120.0f, 77.0f) , ImGuiWindowFlags_AlwaysAutoResize ); - + if (ImGui::Button(m_settings_showHelp ? "ON" : "OFF") ) { m_settings_showHelp = !m_settings_showHelp; } ImGui::End(); - + imguiEndFrame(); //update settings