Home
last modified time | relevance | path

Searched refs:NEAR_ZERO (Results 1 – 25 of 67) sorted by relevance

123

/dports/games/dangen/dangen-0.5/spqr/
H A Dlaser.c16 #define NEAR_ZERO 0.0001 macro
30 if (speed < NEAR_ZERO) in laser_angle_new()
36 if (length <= NEAR_ZERO) in laser_angle_new()
67 if (speed < NEAR_ZERO) in laser_point_new()
72 if (length <= NEAR_ZERO) in laser_point_new()
81 if (temp <= NEAR_ZERO) in laser_point_new()
H A Dnormal-shot.c16 #define NEAR_ZERO 0.0001 macro
31 if (speed < NEAR_ZERO) in normal_shot_angle_new()
60 if (speed < NEAR_ZERO) in normal_shot_point_new()
70 if (temp <= NEAR_ZERO) in normal_shot_point_new()
H A Dcat-tail-grep.c32 #define NEAR_ZERO 0.0001 macro
477 if (length < NEAR_ZERO) in cat_tail_grep_act()
1586 if (length < NEAR_ZERO) in cat_tail_grep_turret_act()
1872 if ((temp > -NEAR_ZERO) && (temp < NEAR_ZERO)) in cat_tail_grep_shot_s_new()
2057 if (r_length < NEAR_ZERO) in cat_tail_grep_shot_s_act()
2121 if (speed < NEAR_ZERO) in cat_tail_grep_shot_i_new()
2171 if (temp < NEAR_ZERO) in cat_tail_grep_shot_i_new()
2336 if ((temp > -NEAR_ZERO) && (temp < NEAR_ZERO)) in cat_tail_grep_shot_i_act()
2379 if (t < NEAR_ZERO) in cat_tail_grep_shot_i_act()
2502 if (temp < NEAR_ZERO) in cat_tail_grep_shot_i_act()
[all …]
H A Dw-ko.c31 #define NEAR_ZERO 0.0001 macro
381 if (((my->x < 15.0) && (my->count_d[0] < NEAR_ZERO)) in w_ko_act()
383 && (my->count_d[0] > -NEAR_ZERO))) in w_ko_act()
389 if (((my->y < 15.0) && (my->count_d[1] < NEAR_ZERO)) in w_ko_act()
391 && (my->count_d[1] > -NEAR_ZERO))) in w_ko_act()
515 && ((my->x - my->count_d[6 + i * 2 + 0] < -NEAR_ZERO) in w_ko_act()
1084 if (length < NEAR_ZERO) in w_ko_cut_new()
1188 if (length < NEAR_ZERO) in w_ko_cut_draw()
1212 if (length < NEAR_ZERO) in w_ko_spear_new()
1422 if ((x - target_x >= -NEAR_ZERO) && (x - target_x <= NEAR_ZERO)) in w_ko_lock_on_new()
[all …]
H A Dfragment.c14 #define NEAR_ZERO 0.0001 macro
39 if (size_fragment < NEAR_ZERO) in fragment_new()
43 if (speed_fragment < NEAR_ZERO) in fragment_new()
H A Dwatcher-below.c29 #define NEAR_ZERO 0.0001 macro
419 else if ((my->count_d[0] > -1.0) && (my->count_d[0] < NEAR_ZERO)) in watcher_below_act()
433 else if ((my->count_d[1] > -1.0) && (my->count_d[1] < NEAR_ZERO)) in watcher_below_act()
489 if (temp < NEAR_ZERO) in watcher_below_act()
555 if (temp < NEAR_ZERO) in watcher_below_act()
582 if (r < NEAR_ZERO) in watcher_below_in_territory()
744 if (speed_x * speed_x + speed_y * speed_y < NEAR_ZERO) in watcher_below_bit_new()
1021 if (temp < NEAR_ZERO) in watcher_below_bit_act()
H A Dwall-11.c18 #define NEAR_ZERO 0.0001 macro
38 if (speed < NEAR_ZERO) in wall_11_new()
H A Dempty-wind.c30 #define NEAR_ZERO 0.0001 macro
311 if (my->count_d[4] < NEAR_ZERO) in empty_wind_act()
449 if (length < NEAR_ZERO) in empty_wind_act()
500 if (my->x < NEAR_ZERO) in empty_wind_act()
505 if (my->x > ((double) WINDOW_WIDTH) - NEAR_ZERO) in empty_wind_act()
H A Dnormal-enemy.c35 #define NEAR_ZERO 0.0001 macro
427 if (r_length < NEAR_ZERO) in normal_enemy_new()
442 if (r_length_temp < NEAR_ZERO) in normal_enemy_new()
770 if (r_length < NEAR_ZERO) in normal_enemy_act()
920 if (r_length < NEAR_ZERO) in normal_enemy_act()
935 if (r_length_temp < NEAR_ZERO) in normal_enemy_act()
H A Dlast-boss.c29 #define NEAR_ZERO 0.0001 macro
1193 if (temp[0] * (my->x - from_x) + temp[1] * (my->y - from_y) < -NEAR_ZERO) in last_boss_star_dust_act()
1433 if (dx * dx + dy * dy < (my->count_d[2] * my->count_d[2]) - NEAR_ZERO) in last_boss_spotlight_act()
1451 if ((my->count[1] < 0) || (my->count_d[2] < NEAR_ZERO)) in last_boss_spotlight_act()
1671 if ((result[0] > NEAR_ZERO) in last_boss_horizon_circle_act()
1672 && (result[0] < ((double) WINDOW_WIDTH) - NEAR_ZERO) in last_boss_horizon_circle_act()
1673 && (result[1] > NEAR_ZERO) in last_boss_horizon_circle_act()
1674 && (result[1] < ((double) WINDOW_HEIGHT) - NEAR_ZERO)) in last_boss_horizon_circle_act()
1767 if (length < NEAR_ZERO) in last_boss_horizon_circle_sights()
H A Drespiration.c27 #define NEAR_ZERO 0.0001 macro
276 if (length < NEAR_ZERO) in respiration_act()
H A Dnet-can-howl.c30 #define NEAR_ZERO 0.0001 macro
926 if (length < NEAR_ZERO) in net_can_howl_core_draw()
951 if (length < NEAR_ZERO) in net_can_howl_core_draw()
973 if (length < NEAR_ZERO) in net_can_howl_core_draw()
1130 if (length < NEAR_ZERO) in net_can_howl_core_draw_wraith()
1525 if (length < NEAR_ZERO) in net_can_howl_seeker_act()
2116 if (length < NEAR_ZERO) in senator_draw()
2818 if ((s - (-1.0) > -NEAR_ZERO) && (s - (-1.0) < NEAR_ZERO)) in voter_parabola_formation()
2820 if ((a_1 - a_2 > -NEAR_ZERO) && (a_1 - a_2 < NEAR_ZERO)) in voter_parabola_formation()
H A Dnegation-engine.c21 #define NEAR_ZERO 0.0001 macro
303 if (size < NEAR_ZERO) in negation_engine_triangle_new()
H A Dtheorem-weapon.c31 #define NEAR_ZERO 0.0001 macro
1062 if (speed < NEAR_ZERO) in theorem_weapon_shot_absolute_new()
1093 if (speed < NEAR_ZERO) in theorem_weapon_shot_aim_new()
1109 if (length < NEAR_ZERO) in theorem_weapon_shot_aim_new()
1160 if (speed < NEAR_ZERO) in theorem_weapon_shot_new()
H A Dhugin.c29 #define NEAR_ZERO 0.0001 macro
405 + my->count_d[3] * my->count_d[3] < NEAR_ZERO) in hugin_act()
886 + my->count_d[3] * my->count_d[3] < NEAR_ZERO) in munin_act()
H A Dcat-tail.c29 #define NEAR_ZERO 0.0001 macro
704 if (length < NEAR_ZERO) in cat_tail_act()
1397 if ((my->count[4] == 0) || (result_length < NEAR_ZERO)) in cat_tail_turret_act()
1488 if (length < NEAR_ZERO) in cat_tail_turret_act()
H A Dtadashi.c29 #define NEAR_ZERO 0.0001 macro
449 if (length < NEAR_ZERO) in tadashi_act()
574 if (length < NEAR_ZERO) in tadashi_draw()
/dports/games/dangen/dangen-0.5/
H A Dutil.c25 #define NEAR_ZERO 0.0001 macro
341 if (length_v < NEAR_ZERO) in vector_rotate_bounded()
343 if (length_a < NEAR_ZERO) in vector_rotate_bounded()
/dports/games/dangen/dangen-0.5/libtenm/
H A Dtenm_collision.c10 #define NEAR_ZERO 0.0001 macro
68 if (n < -NEAR_ZERO) in tenm_point_nearer()
74 if ((n > -NEAR_ZERO) && (n < NEAR_ZERO)) in tenm_point_nearer()
104 if (n < -NEAR_ZERO) in tenm_line_nearer()
H A Dtenm_primitive.c10 #define NEAR_ZERO 0.0001 macro
49 if (radius < NEAR_ZERO) in tenm_circle_new()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/cl/
H A Dupdate_functors.cl244 #define NEAR_ZERO 1e-5
273 if ((u_obs > NEAR_ZERO) || (u > NEAR_ZERO)) {
/dports/games/bzflag-server/bzflag-2.4.22/src/bzflag/
H A DLocalPlayer.cxx235 (NEAR_ZERO(desired, ZERO_TOLERANCE))) in getNewAngVel()
280 if (!NEAR_ZERO(dt,ZERO_TOLERANCE)) in doUpdateMotion()
634 if (!NEAR_ZERO(normal[2], ZERO_TOLERANCE)) in doUpdateMotion()
643 if (!NEAR_ZERO(horNormal, ZERO_TOLERANCE)) in doUpdateMotion()
697 if (!NEAR_ZERO(dt, ZERO_TOLERANCE)) in doUpdateMotion()
899 NEAR_ZERO(dt, ZERO_TOLERANCE) || in doUpdateMotion()
902 if (NEAR_ZERO(dt, ZERO_TOLERANCE)) in doUpdateMotion()
/dports/games/bzflag/bzflag-2.4.22/src/bzflag/
H A DLocalPlayer.cxx235 (NEAR_ZERO(desired, ZERO_TOLERANCE))) in getNewAngVel()
280 if (!NEAR_ZERO(dt,ZERO_TOLERANCE)) in doUpdateMotion()
634 if (!NEAR_ZERO(normal[2], ZERO_TOLERANCE)) in doUpdateMotion()
643 if (!NEAR_ZERO(horNormal, ZERO_TOLERANCE)) in doUpdateMotion()
697 if (!NEAR_ZERO(dt, ZERO_TOLERANCE)) in doUpdateMotion()
899 NEAR_ZERO(dt, ZERO_TOLERANCE) || in doUpdateMotion()
902 if (NEAR_ZERO(dt, ZERO_TOLERANCE)) in doUpdateMotion()
/dports/games/bzflag-server/bzflag-2.4.22/include/
H A Dcommon.h98 #define NEAR_ZERO(_value,_epsilon) ( ((_value) > -_epsilon) && ((_value) < _epsilon) ) macro
/dports/games/bzflag/bzflag-2.4.22/include/
H A Dcommon.h98 #define NEAR_ZERO(_value,_epsilon) ( ((_value) > -_epsilon) && ((_value) < _epsilon) ) macro

123