| 74 | } |
| 75 | |
| 76 | bool Drawer::input_float(const char *caption, float *value, float step, const char *precision) |
| 77 | { |
| 78 | bool res = ImGui::InputFloat(caption, value, step, step * 10.0f, precision); |
| 79 | if (res) |
| 80 | { |
| 81 | dirty = true; |
| 82 | }; |
| 83 | return res; |
| 84 | } |
| 85 | |
| 86 | bool Drawer::slider_float(const char *caption, float *value, float min, float max) |
| 87 | { |
no outgoing calls
no test coverage detected