| 3875 | } |
| 3876 | |
| 3877 | static inline float ImAcos01(float x) |
| 3878 | { |
| 3879 | if (x <= 0.0f) return IM_PI * 0.5f; |
| 3880 | if (x >= 1.0f) return 0.0f; |
| 3881 | return ImAcos(x); |
| 3882 | //return (-0.69813170079773212f * x * x - 0.87266462599716477f) * x + 1.5707963267948966f; // Cheap approximation, may be enough for what we do. |
| 3883 | } |
| 3884 | |
| 3885 | // FIXME: Cleanup and move code to ImDrawList. |
| 3886 | void ImGui::RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding) |
no outgoing calls
no test coverage detected