MCPcopy Create free account
hub / github.com/AndrewBelt/WaveEdit / waterfallPage

Function waterfallPage

src/ui.cpp:743–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

741
742
743void waterfallPage() {
744 ImGui::BeginChild("3D View", ImVec2(0, 0), true);
745 {
746 ImGui::PushItemWidth(-1.0);
747 static float amplitude = 0.25;
748 ImGui::SliderFloat("##amplitude", &amplitude, 0.01, 1.0, "Scale: %.3f", 0.0);
749 static float angle = 1.0;
750 ImGui::SliderFloat("##angle", &angle, 0.0, 1.0, "Angle: %.3f");
751
752 renderWaterfall("##waterfall", -1.0, amplitude, angle, &morphZ);
753 }
754 ImGui::EndChild();
755}
756
757
758void renderMain() {

Callers 1

renderMainFunction · 0.85

Calls 1

renderWaterfallFunction · 0.85

Tested by

no test coverage detected