| 117 | } |
| 118 | |
| 119 | void MultiplierWindow::processRandomPanel() |
| 120 | { |
| 121 | AlienImGui::InputInt( |
| 122 | AlienImGui::InputIntParameters().name("Number of copies").textWidth(RightColumnWidth), _randomParameters._number); |
| 123 | AlienImGui::InputFloat(AlienImGui::InputFloatParameters().name("Min angle").textWidth(RightColumnWidth).format("%.1f"), _randomParameters._minAngle); |
| 124 | AlienImGui::InputFloat(AlienImGui::InputFloatParameters().name("Max angle").textWidth(RightColumnWidth).format("%.1f"), _randomParameters._maxAngle); |
| 125 | AlienImGui::InputFloat( |
| 126 | AlienImGui::InputFloatParameters().name("Min velocity X").textWidth(RightColumnWidth).format("%.2f").step(0.05f), _randomParameters._minVelX); |
| 127 | AlienImGui::InputFloat( |
| 128 | AlienImGui::InputFloatParameters().name("Max velocity X").textWidth(RightColumnWidth).format("%.2f").step(0.05f), _randomParameters._maxVelX); |
| 129 | AlienImGui::InputFloat( |
| 130 | AlienImGui::InputFloatParameters().name("Min velocity Y").textWidth(RightColumnWidth).format("%.2f").step(0.05f), _randomParameters._minVelY); |
| 131 | AlienImGui::InputFloat( |
| 132 | AlienImGui::InputFloatParameters().name("Max velocity Y").textWidth(RightColumnWidth).format("%.2f").step(0.05f), _randomParameters._maxVelY); |
| 133 | AlienImGui::InputFloat( |
| 134 | AlienImGui::InputFloatParameters().name("Min angular velocity").textWidth(RightColumnWidth).format("%.1f").step(0.1f), |
| 135 | _randomParameters._minAngularVel); |
| 136 | AlienImGui::InputFloat( |
| 137 | AlienImGui::InputFloatParameters().name("Max angular velocity").textWidth(RightColumnWidth).format("%.1f").step(0.1f), |
| 138 | _randomParameters._maxAngularVel); |
| 139 | AlienImGui::Checkbox(AlienImGui::CheckboxParameters().name("Overlapping check").textWidth(RightColumnWidth), _randomParameters._overlappingCheck); |
| 140 | } |
| 141 | |
| 142 | void MultiplierWindow::validateAndCorrect() |
| 143 | { |
nothing calls this directly
no test coverage detected