Home
last modified time | relevance | path

Searched refs:last_y (Results 1 – 25 of 1309) sorted by relevance

12345678910>>...53

/dports/games/jinput/jinput-bf22dd975bbba31f01895332255b63df376894e6/plugins/linux/src/main/java/net/java/games/input/
H A DLinuxPOV.java52 private float last_y; field in LinuxPOV
70 last_y = value; in convertValue()
72 if (last_x == -1 && last_y == -1) in convertValue()
74 else if (last_x == -1 && last_y == 0) in convertValue()
76 else if (last_x == -1 && last_y == 1) in convertValue()
78 else if (last_x == 0 && last_y == -1) in convertValue()
80 else if (last_x == 0 && last_y == 0) in convertValue()
82 else if (last_x == 0 && last_y == 1) in convertValue()
84 else if (last_x == 1 && last_y == -1) in convertValue()
86 else if (last_x == 1 && last_y == 0) in convertValue()
[all …]
H A DLinuxJoystickPOV.java28 float last_y = hatY.getPollData(); in updateValue() local
31 if (last_x == -1 && last_y == -1) in updateValue()
33 else if (last_x == -1 && last_y == 0) in updateValue()
35 else if (last_x == -1 && last_y == 1) in updateValue()
37 else if (last_x == 0 && last_y == -1) in updateValue()
39 else if (last_x == 0 && last_y == 0) in updateValue()
41 else if (last_x == 0 && last_y == 1) in updateValue()
43 else if (last_x == 1 && last_y == -1) in updateValue()
45 else if (last_x == 1 && last_y == 0) in updateValue()
47 else if (last_x == 1 && last_y == 1) in updateValue()
[all …]
/dports/databases/grass7/grass-7.8.6/lib/vector/diglib/
H A Dangle.c34 double last_y; in dig_calc_begin_angle() local
49 last_y = *yarray; in dig_calc_begin_angle()
64 (thresh < fabs(*yptr - last_y))) { in dig_calc_begin_angle()
79 return ((float)d_atan2(*yptr - last_y, *xptr - last_x)); in dig_calc_begin_angle()
85 double last_y; in dig_calc_end_angle() local
105 last_y = *(yarray + n_points - 1); in dig_calc_end_angle()
115 (thresh < fabs(*yptr - last_y))) { in dig_calc_end_angle()
128 d_atan2(yarray[n_points - 2] - last_y, in dig_calc_end_angle()
138 double last_y; in dig_is_line_degenerate() local
153 last_y = *yarray; in dig_is_line_degenerate()
[all …]
/dports/math/sisl/SISL-SISL-4.6.0-44-g9114631/examples/viewer/src/
H A Dmouse.cpp70 int last_x=0, last_y=0, last_x0=0, last_y0=0; variable
160 mouse_movement = mouse_movement || ((x!=last_x) || (y!=last_y)); in MouseRotate()
167 if (!transversal_rotation(x, y, last_x, last_y)) in MouseRotate()
175 atan2(last_y-(viewp[1]+viewp[3])*0.5, in MouseRotate()
182 s*sqrt((double)(SQR(x-last_x)+SQR(y-last_y)))*sensitiveness); in MouseRotate()
186 last_y0=last_y; in MouseRotate()
188 last_y=y; in MouseRotate()
198 scale(1.0+(y-last_y)*0.01, 1.0+(y-last_y)*0.01, 1.0+(y-last_y)*0.01); in MouseZoom()
200 last_y=y; in MouseZoom()
213 last_y=y; in MouseTranslate()
[all …]
/dports/science/py-pymol/pymol-open-source-2.4.0/layer4/
H A DMenu.cpp29 void MenuActivate(PyMOLGlobals * G, int x, int y, int last_x, int last_y, int passive, in MenuActivate() argument
41 PopUpNew(G, x, y, last_x, last_y, passive, list, NULL); in MenuActivate()
49 void MenuActivate3fv(PyMOLGlobals * G, int x, int y, int last_x, int last_y, int passive, in MenuActivate3fv() argument
63 PopUpNew(G, x, y, last_x, last_y, passive, list, NULL); in MenuActivate3fv()
70 void MenuActivate2Arg(PyMOLGlobals * G, int x, int y, int last_x, int last_y, int passive, in MenuActivate2Arg() argument
82 PopUpNew(G, x, y, last_x, last_y, passive, list, NULL); in MenuActivate2Arg()
89 Block *MenuActivate1Arg(PyMOLGlobals * G, int x, int y, int last_x, int last_y, int passive, in MenuActivate1Arg() argument
101 block = PopUpNew(G, x, y, last_x, last_y, passive, list, NULL); in MenuActivate1Arg()
109 void MenuActivate0Arg(PyMOLGlobals * G, int x, int y, int last_x, int last_y, int passive, in MenuActivate0Arg() argument
121 PopUpNew(G, x, y, last_x, last_y, passive, list, NULL); in MenuActivate0Arg()
H A DMenu.h24 void MenuActivate(PyMOLGlobals * G, int x, int y, int last_x, int last_y,
26 void MenuActivate0Arg(PyMOLGlobals * G, int x, int y, int last_x, int last_y,
28 Block *MenuActivate1Arg(PyMOLGlobals * G, int x, int y, int last_x, int last_y,
30 void MenuActivate2Arg(PyMOLGlobals * G, int x, int y, int last_x, int last_y,
32 void MenuActivate3fv(PyMOLGlobals * G, int x, int y, int last_x, int last_y, int passive,
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/acro/packages/scolib/src/libs/
H A DDockingPS.cpp53 last_x=last_y=last_theta=0.0; in DockingPS()
230 last_y = (prev_iter[4] + last_y)/2.0; in update_pattern()
250 last_y = prev_iter[4]; in update_pattern()
255 last_y *= -1; in update_pattern()
258 renormalize(last_x,last_y,last_z); in update_pattern()
317 (curr_iter[4]-last_y)*(curr_iter[4]-last_y) + in update_pattern()
340 new_y = last_y; in rotation_trial()
346 last_x, last_y, last_z, in rotation_trial()
362 (last_y-new_y)*(last_y-new_y) + in rotation_trial()
479 last_x, last_y, last_z); in set_initial_point()
[all …]
/dports/graphics/figurine/figurine-1.0.5/src/
H A Dmouse_motion.c68 int last_x=0, last_y=0; variable
79 last_y = mouse_y; in handle_motion()
98 toggle(VIEW(l2),last_x, last_y); in handle_motion()
102 toggle_point_spline(VIEW(l2),last_x, last_y); in handle_motion()
108 toggle(VIEW(l2),last_x, last_y); in handle_motion()
112 toggle_point_spline(VIEW(l2),last_x, last_y); in handle_motion()
117 toggle(VIEW(l2),last_x, last_y); in handle_motion()
164 blackxorgc, 0, last_y, last_x - GUIDE_LINE_GAP, last_y); in handle_motion()
166 blackxorgc, last_x + GUIDE_LINE_GAP, last_y, in handle_motion()
167 ((int)VIEW(l2)->draw_window->w)-1, last_y); in handle_motion()
[all …]
/dports/games/jinput/jinput-bf22dd975bbba31f01895332255b63df376894e6/plugins/windows/src/main/java/net/java/games/input/
H A DRawMouseEvent.java59 private long last_y; field in RawMouseEvent
62 …, int button_flags, int button_data, long raw_buttons, long last_x, long last_y, long extra_inform… in set() argument
69 this.last_y = last_y; in set()
74 ….button_flags, event.button_data, event.raw_buttons, event.last_x, event.last_y, event.extra_infor… in set()
98 return (int)last_y; in getLastY()
/dports/devel/ncurses/ncurses-6.3/test/
H A Dpopup_msg.c78 int last_y; in popup_msg() local
106 last_y = (y2 - (high - 3)); in popup_msg()
114 y1 = last_y; in popup_msg()
128 if (y1 < last_y) { in popup_msg()
130 if (y1 > last_y) in popup_msg()
131 y1 = last_y; in popup_msg()
145 if (y1 < last_y) in popup_msg()
H A Dworm.c103 static int last_x, last_y; variable
269 if (y > last_y) in draw_worm()
270 y = last_y; in draw_worm()
290 : (y == last_y in draw_worm()
296 : (y == last_y in draw_worm()
301 : (y == last_y in draw_worm()
421 if (last_y != LINES - 1) { in update_refs()
433 last_y = LINES - 1; in update_refs()
532 last_y = LINES - 1; in main()
569 refs[last_y][last_x] = 1; in main()
[all …]
/dports/deskutils/taskwarrior/taskwarrior-2.6.1/src/commands/
H A DCmdHistory.cpp311 int last_m, last_d, last_y; in insertRowDate() local
314 if (y != last_y) in insertRowDate()
414 int last_m, last_d, last_y; in insertRowDate() local
417 if (y != last_y) in insertRowDate()
456 int last_m, last_d, last_y; in insertRowDate() local
459 if (y != last_y) in insertRowDate()
496 int last_m, last_d, last_y; in insertRowDate() local
499 if (y != last_y) in insertRowDate()
539 int last_m, last_d, last_y; in insertRowDate() local
589 int last_m, last_d, last_y; in insertRowDate() local
[all …]
/dports/math/g2o/g2o-20201223_git/g2o/stuff/
H A Dopengl_primitives.cpp252 glVertex3f(last_x, last_y, upper_z); in drawSlice()
253 glVertex3f(last_x, last_y, upper_z); in drawSlice()
254 glVertex3f(last_x, last_y, lower_z); in drawSlice()
269 glVertex3f(last_x, last_y, lower_z); in drawSlice()
274 glVertex3f(last_x, last_y, upper_z); in drawSlice()
277 glVertex3f(last_x, last_y, upper_z); in drawSlice()
278 glVertex3f(last_x, last_y, lower_z); in drawSlice()
285 last_y = y; in drawSlice()
292 glVertex3f(last_x, last_y, upper_z); in drawSlice()
293 glVertex3f(last_x, last_y, upper_z); in drawSlice()
[all …]
/dports/graphics/gimp-lqr-plugin/gimp-lqr-plugin-0.7.2/src/
H A Daltcoordinates.c35 gdouble last_y; member
67 data->last_y in alt_coordinates_callback()
70 else if (ROUND (new_y) != ROUND (data->last_y)) in alt_coordinates_callback()
72 data->last_y = new_y; in alt_coordinates_callback()
89 data->last_y = data->last_x in alt_coordinates_callback()
92 else if (new_y != data->last_y) in alt_coordinates_callback()
97 data->last_x = data->last_y in alt_coordinates_callback()
106 if (new_y != data->last_y) in alt_coordinates_callback()
107 data->last_y = new_y; in alt_coordinates_callback()
270 data->last_y = y; in alt_coordinates_new()
/dports/games/corsix-th/CorsixTH-0.65.1/CorsixTH/Lua/dialogs/
H A Dconfirm_dialog.lua63 local last_y = top_frame_height
66 self:addPanel(middle_frame, 0, last_y) -- Dialog background
68 last_y = last_y + middle_frame_height
71 self:addPanel(bottom_frame, 0, last_y) -- Dialog footer
72 self:addPanel(360, 0, last_y + 10):makeButton(8, 10, 82, 34, 361, self.cancel)
74 self:addPanel(362, 90, last_y + 10):makeButton(0, 10, 82, 34, 363, self.ok)
/dports/games/openclonk/openclonk-release-8.1-src/planet/Decoration.ocd/Misc.ocd/SprayCan.ocd/
H A DScript.c8 local last_x, last_y, last_ldx, last_ldy; variable
61 if (new_x == last_x && new_y == last_y) in ControlUseHolding()
64 var dx = new_x - last_x, dy = new_y - last_y; in ControlUseHolding()
72 …DrawMaterialQuad(paint_col, last_x - last_ldx, last_y - last_ldy, last_x + last_ldx, last_y + last… in ControlUseHolding()
73 last_x = new_x; last_y = new_y; in ControlUseHolding()
93 last_x = x; last_y = y; in StartSpraying()
/dports/graphics/xpaint/xpaint-2.9.10.3/
H A Dscreenshot.c158 int last_x, last_y; in get_region() local
225 last_y = init_y; in get_region()
243 last_y = event.xmotion.y; in get_region()
245 init_x, init_y, last_x, last_y); /* draw new */ in get_region()
247 if ((init_x < last_x) && (init_y < last_y) in get_region()
254 else if ((last_x < init_x) && (last_y < init_y) in get_region()
261 else if ((init_x < last_x) && (last_y < init_y) in get_region()
268 else if ((last_x < init_x) && (init_y < last_y) in get_region()
290 if (init_y < last_y) in get_region()
293 *y = last_y; in get_region()
[all …]
/dports/devel/efl/efl-1.25.1/src/modules/evas/vg_savers/svg/
H A Devas_vg_save_svg.c39 double last_x = 0, last_y = 0; in _svg_node_printf() local
98 … eina_strbuf_append_printf(buf, "m%f,%f ", points[0] - last_x, points[1] - last_y); in _svg_node_printf()
100 last_y = points[1]; in _svg_node_printf()
106 last_y = points[1]; in _svg_node_printf()
111 points[0] - last_x, points[1] - last_y, in _svg_node_printf()
112 points[2] - last_x, points[3] - last_y, in _svg_node_printf()
113 points[4] - last_x, points[5] - last_y); in _svg_node_printf()
115 last_y = points[5]; in _svg_node_printf()
/dports/databases/p5-DBIx-Class/DBIx-Class-0.082842/t/search/
H A Dselect_chains.t20 '+columns' => [ { max_year => { max => 'me.year', -as => 'last_y' }}, ],
23 …} => 'SELECT me.cdid, LOWER( title ) AS lctitle, MAX( me.year ) AS last_y, me.genreid, COUNT( me.c…
40 '+select' => [ { max => 'me.year', -as => 'last_y' } ],
42 } => 'SELECT COALESCE( a, b, c ) AS firstfound, me.year, MAX( me.year ) AS last_y FROM cd me',
47 …} => 'SELECT COALESCE( a, b, c ) AS firstfound, me.year, MAX( me.year ) AS last_y, COUNT( me.cdid …
53 …} => 'SELECT COALESCE( a, b, c ) AS firstfound, me.year, MAX( me.year ) AS last_y, COUNT( me.cdid …
57 …} => 'SELECT COALESCE( a, b, c ) AS firstfound, me.year, MAX( me.year ) AS last_y, COUNT( me.cdid …
61 …} => 'SELECT COALESCE( a, b, c ) AS firstfound, me.year, MAX( me.year ) AS last_y, COUNT( me.cdid …
66 …} => 'SELECT COALESCE( a, b, c ) AS firstfound, me.year, MAX( me.year ) AS last_y, COUNT( me.cdid …
70 …} => 'SELECT COALESCE( a, b, c ) AS firstfound, me.year, MAX( me.year ) AS last_y, COUNT( me.cdid …
/dports/devel/allegro5/allegro5-5.2.7.0/examples/
H A Dex_lines.c24 int last_y = -1; variable
70 if (last_x == -1 && last_y == -1) { in plonk()
72 last_y = y; in plonk()
79 al_draw_line(last_x, last_y, x, y, white, 0); in plonk()
80 last_x = last_y = -1; in plonk()
163 last_x = last_y = -1; in main()
/dports/games/lwjgl/lwjgl-2df01dd/src/java/org/lwjgl/opengl/
H A DMacOSXNativeMouse.java68 private float last_y; field in MacOSXNativeMouse
147 last_y = display.getHeight() / 2; in resetCursorToCenter()
155 putMouseEventWithCoords(button, state, (int)last_x, (int)last_y, dz, nanos); in putMouseEvent()
171 coord_buffer.put(1, (int)last_y); in poll()
184 float dy = y - last_y; in setCursorPos()
187 last_y = y; in setCursorPos()
206 last_y = y; in mouseMoved()
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgtkgesturedrag.c47 double last_y; member
95 priv->last_y = priv->start_y; in gtk_gesture_drag_begin()
108 gtk_gesture_get_point (gesture, sequence, &priv->last_x, &priv->last_y); in gtk_gesture_drag_update()
110 y = priv->last_y - priv->start_y; in gtk_gesture_drag_update()
126 gtk_gesture_get_point (gesture, current, &priv->last_x, &priv->last_y); in gtk_gesture_drag_end()
128 y = priv->last_y - priv->start_y; in gtk_gesture_drag_end()
298 *y = priv->last_y - priv->start_y; in gtk_gesture_drag_get_offset()
/dports/graphics/aloadimage/arcan-0.6.1/tests/exercises/set_3/set3_4/
H A Dset3_4.lua59 last_y = iotbl.samples[1];
62 if (last_x ~= nil and last_y ~= nil) then
63 move_cursor(last_x, last_y);
65 last_y = nil;
/dports/sysutils/acfgfs/arcan-0.6.1/tests/exercises/set_3/set3_4/
H A Dset3_4.lua59 last_y = iotbl.samples[1];
62 if (last_x ~= nil and last_y ~= nil) then
63 move_cursor(last_x, last_y);
65 last_y = nil;
/dports/x11/aclip/arcan-0.6.1/tests/exercises/set_3/set3_4/
H A Dset3_4.lua59 last_y = iotbl.samples[1];
62 if (last_x ~= nil and last_y ~= nil) then
63 move_cursor(last_x, last_y);
65 last_y = nil;

12345678910>>...53