Lines Matching refs:dx_a

748   double dx_a;  in tadashi_square_act()  local
801 dx_a = length * tenm_cos(theta + 90) - x; in tadashi_square_act()
824 tenm_table_add(laser_angle_new(my->x + x + dx_a * s + dx_b * c in tadashi_square_act()
830 tenm_table_add(laser_angle_new(my->x + x + dx_a * s + dx_b * c in tadashi_square_act()
861 dx_a = length * tenm_cos(theta + 90) - x; in tadashi_square_act()
873 tenm_table_add(laser_point_new(my->x + x + dx_a * s + dx_b * c, in tadashi_square_act()
876 my->x + x + dx_a * s + dx_b * c in tadashi_square_act()
877 + dx_a * 50.0 / 400.0, in tadashi_square_act()
881 tenm_table_add(laser_point_new(my->x + x + dx_a * s + dx_b * c, in tadashi_square_act()
884 my->x + x + dx_a * s + dx_b * c in tadashi_square_act()
907 double dx_a; in tadashi_square_draw() local
973 dx_a = length * tenm_cos(theta + 90) - x; in tadashi_square_draw()
983 (int) (my->x + x + dx_a), (int) (my->y + y + dy_a), in tadashi_square_draw()
987 (int) (my->x + x + dx_a + dx_b), in tadashi_square_draw()
995 if (tenm_draw_line((int) (my->x + x + dx_a), (int) (my->y + y + dy_a), in tadashi_square_draw()
996 (int) (my->x + x + dx_a + dx_b), in tadashi_square_draw()
1011 (int) (my->x + x + dx_a * s + dx_b * c), in tadashi_square_draw()
1015 if (tenm_draw_line((int) (my->x + x + dx_a + dx_b * (1.0 - c)), in tadashi_square_draw()
1017 (int) (my->x + x + dx_a * (1.0 - s) + dx_b * (1.0 - c)), in tadashi_square_draw()
1021 if (tenm_draw_line((int) (my->x + x + dx_a * c), in tadashi_square_draw()
1023 (int) (my->x + x + dx_b * s + dx_a * c), in tadashi_square_draw()
1027 if (tenm_draw_line((int) (my->x + x + dx_b + dx_a * (1.0 - c)), in tadashi_square_draw()
1029 (int) (my->x + x + dx_b * (1.0 - s) + dx_a * (1.0 - c)), in tadashi_square_draw()
1047 if (tenm_draw_line((int) (my->x + x + dx_a * s + dx_b * c in tadashi_square_draw()
1051 (int) (my->x + x + dx_a * s + dx_b * c in tadashi_square_draw()
1081 (int) (my->x + x + dx_a + dx_b * c), in tadashi_square_draw()
1085 if (tenm_draw_line((int) (my->x + x + dx_a * c), in tadashi_square_draw()
1087 (int) (my->x + x + dx_b + dx_a * c), in tadashi_square_draw()
1103 if (tenm_draw_line((int) (my->x + x + dx_a * s + dx_b * c), in tadashi_square_draw()
1105 (int) (my->x + x + dx_a * s + dx_b * c in tadashi_square_draw()
1106 + dx_a * 50.0 / (400.0 * tenm_sqrt(2))), in tadashi_square_draw()
1112 if (tenm_draw_line((int) (my->x + x + dx_a * s + dx_b * c), in tadashi_square_draw()
1114 (int) (my->x + x + dx_a * s + dx_b * c in tadashi_square_draw()