60{
61 DrawHeader("Divide");
62 inputPins[0]->Render();
63
64 if (inputPins[0]->IsLinked())
65 {
66 ImGui::Text("Input 1");
67 }
68
69 else
70 {
71 ImGui::PushItemWidth(100);
72 ImGui::DragFloat(("##" + std::to_string(inputPins[0]->id)).c_str(), &value1, 0.01f);
73 ImGui::PopItemWidth();
74 }
75
76 ImGui::SameLine();
77 ImGui::Text("Out");
78 outputPins[0]->Render();
79 inputPins[1]->Render();
80
81 if(inputPins[1]->IsLinked())
82 {
83 ImGui::Text("Input 2");
84 }
85
86 else
87 {
88 ImGui::PushItemWidth(100);
89 ImGui::DragFloat(("##" + std::to_string(inputPins[1]->id)).c_str(), &value2, 0.01f);
90 ImGui::PopItemWidth();
91 }
92}