Home
last modified time | relevance | path

Searched refs:wheel_r_outer (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui_widgets.cpp4143 float wheel_r_outer = sv_picker_size * 0.50f; in ColorPicker4() local
4144 float wheel_r_inner = wheel_r_outer - wheel_thickness; in ColorPicker4()
4168 …st2 >= (wheel_r_inner-1)*(wheel_r_inner-1) && initial_dist2 <= (wheel_r_outer+1)*(wheel_r_outer+1)) in ColorPicker4()
4318 … const float aeps = 1.5f / wheel_r_outer; // Half a pixel arc length in radians (2pi cancels out). in ColorPicker4()
4319 const int segment_per_arc = ImMax(4, (int)wheel_r_outer / 12); in ColorPicker4()
4325 … draw_list->PathArcTo(wheel_center, (wheel_r_inner + wheel_r_outer)*0.5f, a0, a1, segment_per_arc); in ColorPicker4()
4338 …x + cos_hue_angle * (wheel_r_inner+wheel_r_outer)*0.5f, wheel_center.y + sin_hue_angle * (wheel_r_… in ColorPicker4()