| 3835 | } |
| 3836 | |
| 3837 | static inline float ImAcos01(float x) |
| 3838 | { |
| 3839 | if (x <= 0.0f) return IM_PI * 0.5f; |
| 3840 | if (x >= 1.0f) return 0.0f; |
| 3841 | return ImAcos(x); |
| 3842 | //return (-0.69813170079773212f * x * x - 0.87266462599716477f) * x + 1.5707963267948966f; // Cheap approximation, may be enough for what we do. |
| 3843 | } |
| 3844 | |
| 3845 | // FIXME: Cleanup and move code to ImDrawList. |
| 3846 | 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