Searched refs:progress_dir (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_demo.cpp1007 static float progress = 0.0f, progress_dir = 1.0f; local in function:ShowDemoWindowWidgets
1010 progress += progress_dir * 0.4f * ImGui::GetIO().DeltaTime;
1011 if (progress >= +1.1f) { progress = +1.1f; progress_dir *= -1.0f; }
1012 if (progress <= -0.1f) { progress = -0.1f; progress_dir *= -1.0f; }

Completed in 8 milliseconds