Home
last modified time | relevance | path

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

/dports/graphics/ospray-studio/ospray_studio-0.9.1/external/imgui/
H A Dimgui_piemenu.cpp160 float drag_angle = atan2f(oDragDelta.y, oDragDelta.x); in EndPiePopup() local
184 while ((drag_angle - item_inner_ang_min) < 0.f) in EndPiePopup()
185 drag_angle += 2.f * IM_PI; in EndPiePopup()
186 while ((drag_angle - item_inner_ang_min) > 2.f * IM_PI) in EndPiePopup()
187 drag_angle -= 2.f * IM_PI; in EndPiePopup()
189 if (drag_angle >= item_inner_ang_min in EndPiePopup()
190 && drag_angle < item_inner_ang_max) { in EndPiePopup()
/dports/graphics/clutter/clutter-1.26.4/clutter/
H A Dclutter-pan-action.c159 gfloat drag_angle; in G_DEFINE_TYPE_WITH_PRIVATE() local
164 drag_angle = atanf (delta_y / delta_x); in G_DEFINE_TYPE_WITH_PRIVATE()
166 drag_angle = G_PI_2; in G_DEFINE_TYPE_WITH_PRIVATE()
168 if ((drag_angle > -scroll_threshold) && (drag_angle < scroll_threshold)) in G_DEFINE_TYPE_WITH_PRIVATE()
170 else if ((drag_angle > (G_PI_2 - scroll_threshold)) || in G_DEFINE_TYPE_WITH_PRIVATE()
171 (drag_angle < -(G_PI_2 - scroll_threshold))) in G_DEFINE_TYPE_WITH_PRIVATE()
/dports/x11-wm/muffin/muffin-4.8.0/clutter/clutter/
H A Dclutter-pan-action.c159 gfloat drag_angle; in G_DEFINE_TYPE_WITH_PRIVATE() local
164 drag_angle = atanf (delta_y / delta_x); in G_DEFINE_TYPE_WITH_PRIVATE()
166 drag_angle = G_PI_2; in G_DEFINE_TYPE_WITH_PRIVATE()
168 if ((drag_angle > -scroll_threshold) && (drag_angle < scroll_threshold)) in G_DEFINE_TYPE_WITH_PRIVATE()
170 else if ((drag_angle > (G_PI_2 - scroll_threshold)) || in G_DEFINE_TYPE_WITH_PRIVATE()
171 (drag_angle < -(G_PI_2 - scroll_threshold))) in G_DEFINE_TYPE_WITH_PRIVATE()
/dports/x11-wm/mutter/mutter-41.1/clutter/clutter/
H A Dclutter-pan-action.c159 gfloat drag_angle; in G_DEFINE_TYPE_WITH_PRIVATE() local
167 drag_angle = atanf (delta_y / delta_x); in G_DEFINE_TYPE_WITH_PRIVATE()
169 drag_angle = G_PI_2; in G_DEFINE_TYPE_WITH_PRIVATE()
171 if ((drag_angle > -scroll_threshold) && in G_DEFINE_TYPE_WITH_PRIVATE()
172 (drag_angle < scroll_threshold)) in G_DEFINE_TYPE_WITH_PRIVATE()
174 else if ((drag_angle > (G_PI_2 - scroll_threshold)) || in G_DEFINE_TYPE_WITH_PRIVATE()
175 (drag_angle < -(G_PI_2 - scroll_threshold))) in G_DEFINE_TYPE_WITH_PRIVATE()
/dports/games/pioneer/pioneer-20210723/src/pigui/
H A DWidgets.cpp44 float drag_angle = atan2f(drag_delta.y, drag_delta.x); in RadialPopupSelectMenu() local
45 if (drag_angle < -0.5f * item_arc_span) in RadialPopupSelectMenu()
46 drag_angle += 2.0f * IM_PI; in RadialPopupSelectMenu()
60 if (drag_angle >= item_inner_ang_min && drag_angle < item_inner_ang_max) in RadialPopupSelectMenu()