| 120 | } |
| 121 | |
| 122 | static void drawVSlider(VisHud& hud, const glm::vec2& position, float height, const float& controlValue) |
| 123 | { |
| 124 | float halfHeight = height * 0.5; |
| 125 | hud.drawLine(position + glm::vec2(0, -halfHeight), position + glm::vec2(0, halfHeight)); |
| 126 | |
| 127 | double y = height * controlValue - halfHeight; |
| 128 | hud.drawLine(position + glm::vec2(-controlTickSize * 0.5, y), position + glm::vec2(controlTickSize * 0.5, y)); |
| 129 | } |
| 130 | |
| 131 | static void drawControlInputs(VisHud& hud, const glm::vec2& position, const ControlInputsComponent& controlInputsComponents) |
| 132 | { |
no test coverage detected