Home
last modified time | relevance | path

Searched refs:vel_y (Results 1 – 25 of 80) sorted by relevance

1234

/dports/games/flightgear/flightgear-2020.3.11/src/Instrumentation/HUD/
H A DHUD_ladder.cxx214 vel_y = -alpha * _compression; in draw()
236 draw_circle(vel_x, vel_y, 6); in draw()
240 glVertex2f(vel_x - 12, vel_y); in draw()
241 glVertex2f(vel_x - 6, vel_y); in draw()
244 glVertex2f(vel_x + 12, vel_y); in draw()
245 glVertex2f(vel_x + 6, vel_y); in draw()
248 glVertex2f(vel_x, vel_y + 12); in draw()
249 glVertex2f(vel_x, vel_y + 6); in draw()
438 glVertex2f(-3.0, 0.0 + vel_y); in draw()
439 glVertex2f(0.0, 6.0 + vel_y); in draw()
[all …]
/dports/x11-toolkits/gtkglarea2/gtkglarea-2.0.1/examples/
H A Dzktor.c54 float vel_x,vel_y; member
142 player.vel_y = 0; in game_init()
189 enemy[j].vel_y = 0; in game_play()
228 player.vel_y = 0; in game_play()
244 p_bullet[i].vel_y = player.vel_y + dy*100; in game_play()
262 particle[i].vel_y = player.vel_y - dy*25 + dx * spread; in game_play()
323 enemy[i].vel_y = 0; in game_play()
327 enemy[i].vel_y = 0; in game_play()
339 e_bullet[j].vel_y = enemy[i].vel_y + dy*60; in game_play()
374 vortex[i].vel_y = -vortex[i].vel_y; in game_play()
[all …]
/dports/databases/grass7/grass-7.8.6/raster3d/r3.flow/
H A Dintegrate.c62 double *vel_x, double *vel_y, double *vel_z) in get_velocity() argument
65 return get_gradient(region, gradient_info, y, x, z, vel_x, vel_y, vel_z); in get_velocity()
68 vel_x, vel_y, vel_z); in get_velocity()
90 double vel_x, vel_y, vel_z; in rk45_next() local
96 &vel_x, &vel_y, &vel_z) < 0) in rk45_next()
100 tmp1[0][1] = vel_y; in rk45_next()
114 &vel_x, &vel_y, &vel_z) < 0) in rk45_next()
118 tmp1[i][1] = vel_y; in rk45_next()
H A Dinterpolate.h10 const double top, double *vel_x, double *vel_y,
14 const double east, const double top, double *vel_x, double *vel_y,
H A Dflowline.c103 double vel_x, vel_y, vel_z; in compute_flowline() local
134 &vel_x, &vel_y, &vel_z) < 0) in compute_flowline()
136 velocity_norm = norm(vel_x, vel_y, vel_z); in compute_flowline()
H A Dinterpolate.c146 const double top, double *vel_x, double *vel_y, in interpolate_velocity() argument
181 *vel_y = interpolated[1]; in interpolate_velocity()
200 const double east, const double top, double *vel_x, double *vel_y, in get_gradient() argument
330 *vel_y = interpolated[1]; in get_gradient()
H A Dintegrate.h26 double *vel_x, double *vel_y, double *vel_z);
/dports/graphics/gmt/gmt-6.3.0/test/grdvector/
H A Dcartpol.sh17 cat << EOF > vel_y
29 for i in vel_x vel_y; do
33 gmt grd2xyz vel_y.nc > b
36 gmt grdvector vel_x.nc vel_y.nc -JX6i/3i -Baf -BWSne -Q0.3i+e -S2i -N -W1p,red -Gred -P -K > $ps
39 gmt grdvector vel_x.nc vel_y.nc -JP6i+a+t45 -Baf -BWSne -Q0.3i+e -S2i -N -W1p,red -Gred -T -O -K -Y…
/dports/games/barony/Barony-3.3.7/src/
H A Dactboulder.cpp422 my->vel_y = 0.0; in boulderCheckAgainstEntity()
551 my->vel_y *= 0.85f; in actBoulder()
639 my->y += my->vel_y; in actBoulder()
914 my->vel_y = 0; in actBoulder()
918 my->vel_y = 1; in actBoulder()
922 my->vel_y = 0; in actBoulder()
926 my->vel_y = -1; in actBoulder()
936 my->vel_y = 0.0; in actBoulder()
961 my->vel_y = 0.0; in actBoulder()
971 my->vel_y = 0.0; in actBoulder()
[all …]
H A Dactarrowtrap.cpp103 dropped->vel_y = (chosenTile.second - y); in actArrowTrap()
104 if ( abs(dropped->vel_y) > 0.01 ) in actArrowTrap()
106 dropped->vel_y *= (5 + rand() % 11) / 10.0; //50% to 150% in actArrowTrap()
252 entity->vel_y = sin(entity->yaw) * entity->arrowSpeed; in actArrowTrap()
267 entity->vel_y = sin(entity->yaw) * entity->arrowSpeed; in actArrowTrap()
274 entity->vel_y = sin(entity->yaw) * entity->arrowSpeed; in actArrowTrap()
H A Dactflame.cpp28 #define FLAME_VELY my->vel_y
72 entity->vel_y = vel * sin(entity->yaw) * .1; in spawnFlame()
H A Dactgib.cpp31 #define GIB_VELY my->vel_y
194 entity->vel_y = vel * sin(entity->yaw); in spawnGib()
229 entity->vel_y = vel * sin(entity->yaw); in spawnGibClient()
H A Dactmagictrap.cpp151 entity->vel_y = 0.0; in actMagicTrapCeiling()
268 entity->vel_y = sin(entity->yaw) * (missile_speed); in actMagicTrap()
/dports/games/barony/Barony-3.3.7/src/magic/
H A Dactmagic.cpp384 my->y += my->vel_y; in actMagiclightBall()
579 if ( dist != sqrt(my->vel_x * my->vel_x + my->vel_y * my->vel_y) ) in actMagicMissile()
786 my->vel_y *= -1; in actMagicMissile()
792 my->vel_y *= -1; in actMagicMissile()
2787 my->y += my->vel_y; in actMagicParticle()
3217 my->y += my->vel_y; in actParticleRock()
3317 my->y += my->vel_y; in actParticleTest()
3342 entity->vel_y = 0.2; in createParticleErupt()
4159 my->vel_y *= -1; in actParticleSap()
4367 my->y += my->vel_y; in actParticleSapCenter()
[all …]
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgtkgestureswipe.c302 double vel_x, vel_y; in gtk_gesture_swipe_get_velocity() local
309 _gtk_gesture_swipe_calculate_velocity (gesture, &vel_x, &vel_y); in gtk_gesture_swipe_get_velocity()
314 *velocity_y = vel_y; in gtk_gesture_swipe_get_velocity()
H A Dgtkeventcontrollerscroll.c343 double vel_x, vel_y; in gtk_event_controller_scroll_handle_event() local
345 scroll_history_finish (scroll, &vel_x, &vel_y); in gtk_event_controller_scroll_handle_event()
346 g_signal_emit (controller, signals[DECELERATE], 0, vel_x, vel_y); in gtk_event_controller_scroll_handle_event()
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/
H A Dgtkgestureswipe.c305 gdouble vel_x, vel_y; in gtk_gesture_swipe_get_velocity() local
312 _gtk_gesture_swipe_calculate_velocity (gesture, &vel_x, &vel_y); in gtk_gesture_swipe_get_velocity()
317 *velocity_y = vel_y; in gtk_gesture_swipe_get_velocity()
H A Dgtkeventcontrollerscroll.c342 gdouble vel_x, vel_y; in gtk_event_controller_scroll_handle_event() local
344 scroll_history_finish (scroll, &vel_x, &vel_y); in gtk_event_controller_scroll_handle_event()
345 g_signal_emit (controller, signals[DECELERATE], 0, vel_x, vel_y); in gtk_event_controller_scroll_handle_event()
/dports/graphics/blender/blender-2.91.0/source/blender/draw/intern/
H A Ddraw_fluid.c537 float *vel_x = NULL, *vel_y = NULL, *vel_z = NULL; in DRW_smoke_ensure_velocity()
539 if (!get_smoke_velocity_field(fds, &vel_x, &vel_y, &vel_z)) { in DRW_smoke_ensure_velocity()
541 get_smoke_velocity_field(fds, &vel_x, &vel_y, &vel_z); in DRW_smoke_ensure_velocity()
544 if (ELEM(NULL, vel_x, vel_y, vel_z)) { in DRW_smoke_ensure_velocity()
552 "vely", UNPACK3(fds->res), 1, GPU_R16F, GPU_DATA_FLOAT, vel_y); in DRW_smoke_ensure_velocity()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/gtk-0.14.1/src/auto/
H A Devent_controller_scroll.rs67 vel_y: libc::c_double, in connect_decelerate()
71 f(&from_glib_borrow(this), vel_x, vel_y) in connect_decelerate()
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/gtk-0.14.3/src/auto/
H A Devent_controller_scroll.rs67 vel_y: libc::c_double, in connect_decelerate()
71 f(&from_glib_borrow(this), vel_x, vel_y) in connect_decelerate()
/dports/x11/sirula/sirula-1.0.0/cargo-crates/gtk-0.14.3/src/auto/
H A Devent_controller_scroll.rs67 vel_y: libc::c_double, in connect_decelerate()
71 f(&from_glib_borrow(this), vel_x, vel_y) in connect_decelerate()
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/gtk-0.14.3/src/auto/
H A Devent_controller_scroll.rs67 vel_y: libc::c_double, in connect_decelerate()
71 f(&from_glib_borrow(this), vel_x, vel_y) in connect_decelerate()
/dports/games/searchandrescue/searchandrescue_1.4.0/sar/
H A Dcpvalues.h68 GLfloat vel_x, vel_y, vel_z, speed; member
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/gui/widgets/
H A Dmap_window.h120 sint32 vel_x, vel_y; // velocity of automatic map movement (pixels per second) variable
172 vel_y = vy; in set_velocity()
274 *vy = vel_y; in get_velocity()

1234