| 3816 | } |
| 3817 | |
| 3818 | static inline float ImAcos01(float x) |
| 3819 | { |
| 3820 | if (x <= 0.0f) return IM_PI * 0.5f; |
| 3821 | if (x >= 1.0f) return 0.0f; |
| 3822 | return ImAcos(x); |
| 3823 | //return (-0.69813170079773212f * x * x - 0.87266462599716477f) * x + 1.5707963267948966f; // Cheap approximation, may be enough for what we do. |
| 3824 | } |
| 3825 | |
| 3826 | // FIXME: Cleanup and move code to ImDrawList. |
| 3827 | 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