62{
63 DrawHeader("Min Val");
64 inputPins[0]->Render();
65
66 if (inputPins[0]->IsLinked())
67 {
68 ImGui::Text("Input");
69 }
70
71 else
72 {
73 ImGui::PushItemWidth(100);
74 ImGui::DragFloat(("##" + std::to_string(inputPins[0]->id)).c_str(), &inputf, 0.01f);
75 ImGui::PopItemWidth();
76 }
77
78 ImGui::SameLine();
79 ImGui::Text("Output");
80 outputPins[0]->Render();
81 inputPins[1]->Render();
82
83 if (inputPins[1]->IsLinked())
84 {
85 ImGui::Text("Threshold");
86 }
87
88 else
89 {
90 ImGui::PushItemWidth(100);
91 ImGui::DragFloat(("##" + std::to_string(inputPins[1]->id)).c_str(), &thresholdf, 0.01f);
92 ImGui::PopItemWidth();
93 }
94
95 inputPins[2]->Render();
96
97 if(inputPins[2]->IsLinked())
98 {
99 ImGui::Text("Output F");
100 }
101
102 else
103 {
104 ImGui::PushItemWidth(100);
105 ImGui::DragFloat(("##" + std::to_string(inputPins[2]->id)).c_str(), &outputf, 0.01f);
106 ImGui::PopItemWidth();
107 }
108
109 inputPins[3]->Render();
110
111 if(inputPins[3]->IsLinked())
112 {
113 ImGui::Text("Output R");
114 }
115
116 else
117 {
118 ImGui::PushItemWidth(100);
119 ImGui::DragFloat(("##" + std::to_string(inputPins[3]->id)).c_str(), &outputr, 0.01f);
120 ImGui::PopItemWidth();
121 }
122}