/dports/games/sea-defender/Sea-Defender-d628051/snoutlib/ |
H A D | svg.cpp | 14 vec2 cur_point; in path_to_vertices() local 50 cur_point = data[0]; in path_to_vertices() 51 start = cur_point; in path_to_vertices() 55 cur_point = data[0]; in path_to_vertices() 59 cur_point = data[0] + cur_point; in path_to_vertices() 65 cur_point = v; in path_to_vertices() 72 cur_point = v; in path_to_vertices() 78 cur_point = curve.back(); in path_to_vertices() 96 new_cp = cur_point + (cur_point - last_cp); in path_to_vertices() 98 new_cp = cur_point; in path_to_vertices() [all …]
|
/dports/games/divide-and-succeed/divide-and-succeed-0.9.4/src/ |
H A D | Polygone.cpp | 63 Point cur_point = at(i); in appartient() local 65 Segment cur_seg(cur_point, next_point); in appartient() 76 Point cur_point = at(k); in somme_angles() local 78 Vector v1(p, cur_point); in somme_angles() 123 Point cur_point = at(i % size()); in add_intersections() local 126 tous_sommets.push_back(cur_point); in add_intersections() 226 if (s.direct(cur_point) > 0) { in share() 249 previous = cur_point; in share() 308 Point cur_point = at(k); in barycentre() local 309 x += cur_point.get_x(); in barycentre() [all …]
|
/dports/graphics/xfig/xfig-3.2.8a/src/ |
H A D | d_line.c | 105 if (cur_point != first_point) in cancel_line_drawing() 119 cur_point = first_point; in init_trace_drawing() 121 cur_point->x = fix_x = cur_x = x; in init_trace_drawing() 122 cur_point->y = fix_y = cur_y = y; in init_trace_drawing() 123 cur_point->next = NULL; in init_trace_drawing() 204 p = prev_point(first_point, cur_point); in get_intermediatepoint() 207 pw_vector(canvas_win, fix_x, fix_y, cur_point->x, cur_point->y, in get_intermediatepoint() 210 pw_vector(canvas_win, p->x, p->y, cur_point->x, cur_point->y, in get_intermediatepoint() 217 free_points(cur_point); in get_intermediatepoint() 218 cur_point = p; in get_intermediatepoint() [all …]
|
H A D | w_snap.c | 252 do_snap_polyline_normal(l, x, y, (double)(cur_point->x), (double)(cur_point->y)); 756 snap_gx += snap_gx - cur_point->x; 757 snap_gy += snap_gy - cur_point->y; 956 x, y, (double)(cur_point->x), (double)(cur_point->y)); 975 snap_gx += snap_gx - cur_point->x; 976 snap_gy += snap_gy - cur_point->y; 1047 snap_ellipse_normal_ellipse_handler(e, x, y, (double)(cur_point->x), (double)(cur_point->y)); 1051 snap_ellipse_normal_circle_handler(e, x, y, (double)(cur_point->x), (double)(cur_point->y)); 1285 if (!cur_point) { 1333 else if (!cur_point) { [all …]
|
/dports/science/elmerfem/elmerfem-release-9.0/ElmerGUI/matc/src/ |
H A D | dri_ps.c | 147 gra_state.cur_point.x = in gra_ps_clear() 148 gra_state.cur_point.y = 0; in gra_ps_clear() 234 xn[0] = gra_state.cur_point.x; 235 yn[0] = gra_state.cur_point.y; 239 gra_state.cur_point.x = xn[1]; 240 gra_state.cur_point.y = yn[1]; 258 gra_state.cur_point.x = wx; 259 gra_state.cur_point.y = wy; 282 gra_state.cur_point.x = wx; 303 gra_state.cur_point.x = wx; [all …]
|
/dports/science/elmerfem/elmerfem-release-9.0/matc/src/ |
H A D | dri_ps.c | 147 gra_state.cur_point.x = in gra_ps_clear() 148 gra_state.cur_point.y = 0; in gra_ps_clear() 234 xn[0] = gra_state.cur_point.x; 235 yn[0] = gra_state.cur_point.y; 239 gra_state.cur_point.x = xn[1]; 240 gra_state.cur_point.y = yn[1]; 258 gra_state.cur_point.x = wx; 259 gra_state.cur_point.y = wy; 282 gra_state.cur_point.x = wx; 303 gra_state.cur_point.x = wx; [all …]
|
/dports/science/elmerfem/elmerfem-release-9.0/post/matc/src/ |
H A D | dri_ps.c | 147 gra_state.cur_point.x = in gra_ps_clear() 148 gra_state.cur_point.y = 0; in gra_ps_clear() 234 xn[0] = gra_state.cur_point.x; 235 yn[0] = gra_state.cur_point.y; 239 gra_state.cur_point.x = xn[1]; 240 gra_state.cur_point.y = yn[1]; 258 gra_state.cur_point.x = wx; 259 gra_state.cur_point.y = wy; 282 gra_state.cur_point.x = wx; 303 gra_state.cur_point.x = wx; [all …]
|
/dports/graphics/graphviz/graphviz-2.44.1/lib/common/ |
H A D | taper.c | 295 cur_point = pathpoints[i]; in taper() 296 x = cur_point.x; in taper() 297 y = cur_point.y; in taper() 373 x = cur_point.x; in taper() 374 y = cur_point.y; in taper() 376 lineout = cur_point.lout; in taper() 377 bevel = cur_point.bevel; in taper() 398 x = cur_point.x; in taper() 399 y = cur_point.y; in taper() 401 lineout = cur_point.lout; in taper() [all …]
|
/dports/graphics/libgphoto2/libgphoto2-2.5.26/camlibs/docupen/ |
H A D | calibration.c | 30 int cur_point = 0; in make_lut() local 32 unsigned int val = floorf((i - points[cur_point]) * slope + cal_points[cur_point]); in make_lut() 34 if (lut[i] < 255 && lut[i] >= cal_points[cur_point + 1]) { in make_lut() 35 cur_point++; in make_lut() 36 …slope = (float)(cal_points[cur_point + 1] - cal_points[cur_point]) / (points[cur_point + 1] - poin… in make_lut()
|
/dports/emulators/mednafen/mednafen/src/psx/ |
H A D | gpu_line.cpp | 126 line_fxp_coord cur_point; in DrawLine() local 154 LinePointToFXPCoord<goraud>(points[0], step, cur_point); in DrawLine() 162 const int32 x = (cur_point.x >> Line_XY_FractBits) & 2047; in DrawLine() 163 const int32 y = (cur_point.y >> Line_XY_FractBits) & 2047; in DrawLine() 172 r = cur_point.r >> Line_RGB_FractBits; in DrawLine() 173 g = cur_point.g >> Line_RGB_FractBits; in DrawLine() 174 b = cur_point.b >> Line_RGB_FractBits; in DrawLine() 201 AddLineStep<goraud>(cur_point, step); in DrawLine()
|
/dports/math/geogram/geogram-1.7.7/src/lib/geogram_gfx/GLUP/shaders/fullscreen/ |
H A D | ambient_occlusion_fragment_shader.h | 99 vec2 cur_point = from + r * dir; local 103 if(!outside(cur_point)) { 105 while (!outside(cur_point)) { 108 z = get_obj_z(cur_point, depth_texture); 113 result = cur_point; 120 cur_point = from + r * dir;
|
/dports/math/libmesh/libmesh-1.6.2/contrib/eigen/3.2.9/test/eigen2/ |
H A D | eigen2_regression.cpp | 34 VectorType& cur_point = *(points[i]); in makeNoisyCohyperplanarPoints() local 37 cur_point = VectorType::Random(size)/*.normalized()*/; in makeNoisyCohyperplanarPoints() 39 Scalar x = - (hyperplane->coeffs().start(size).cwise()*cur_point).sum(); in makeNoisyCohyperplanarPoints() 40 cur_point *= hyperplane->coeffs().coeff(size) / x; in makeNoisyCohyperplanarPoints() 41 } while( cur_point.norm() < 0.5 in makeNoisyCohyperplanarPoints() 42 || cur_point.norm() > 2.0 ); in makeNoisyCohyperplanarPoints()
|
/dports/games/kodi-addon-game.libretro.beetle-psx/game.libretro.beetle-psx-0.9.44.22-Matrix/depends/common/beetle-psx/mednafen/psx/ |
H A D | gpu_line.cpp | 107 line_fxp_coord cur_point; in DrawLine() local 119 line_point_to_fixed_point_coord<gouraud>(&points[0], &step, &cur_point); in DrawLine() 124 int32_t x = (cur_point.x >> LINE_XY_FRACTBITS) & 2047; in DrawLine() 125 int32_t y = (cur_point.y >> LINE_XY_FRACTBITS) & 2047; in DrawLine() 134 r = cur_point.r >> LINE_RGB_FRACTBITS; in DrawLine() 135 g = cur_point.g >> LINE_RGB_FRACTBITS; in DrawLine() 136 b = cur_point.b >> LINE_RGB_FRACTBITS; in DrawLine() 161 AddLineStep<gouraud>(&cur_point, &step); in DrawLine()
|
/dports/x11/libsx/libsx/bezier/ |
H A D | callbacks.c | 245 if (me->cur_point == -1) in process_motion() 252 FilledBox(me->pts[me->cur_point].x, me->pts[me->cur_point].y, 100, 100); in process_motion() 265 me->pts[me->cur_point].x = x; me->pts[me->cur_point].y = y; in process_motion() 270 FilledBox(me->pts[me->cur_point].x, me->pts[me->cur_point].y, 100,100); in process_motion() 290 me->cur_point = i; in check_point()
|
/dports/games/libretro-beetle_psx/beetle-psx-libretro-3ec155d/mednafen/psx/ |
H A D | gpu_line.cpp | 107 line_fxp_coord cur_point; in DrawLine() local 119 line_point_to_fixed_point_coord<gouraud>(&points[0], &step, &cur_point); in DrawLine() 124 int32_t x = (cur_point.x >> LINE_XY_FRACTBITS) & 2047; in DrawLine() 125 int32_t y = (cur_point.y >> LINE_XY_FRACTBITS) & 2047; in DrawLine() 134 r = cur_point.r >> LINE_RGB_FRACTBITS; in DrawLine() 135 g = cur_point.g >> LINE_RGB_FRACTBITS; in DrawLine() 136 b = cur_point.b >> LINE_RGB_FRACTBITS; in DrawLine() 161 AddLineStep<gouraud>(&cur_point, &step); in DrawLine()
|
/dports/cad/cura-engine/CuraEngine-fadb5d6b/src/infill/ |
H A D | GyroidInfill.cpp | 251 Point cur_point; // current point of interest - either an outline point or a chain end in generateTotalGyroidInfill() local 277 if (outline_point_index == 0 || vSize2(op0 - cur_point) > 100) in generateTotalGyroidInfill() 287 cur_point = op0; in generateTotalGyroidInfill() 303 … vSize2f(chains[points_on_outline_point_index[pi]][points_on_outline_chain_index[pi]] - cur_point); in generateTotalGyroidInfill() 314 cur_point = chains[point_index][chain_index]; in generateTotalGyroidInfill() 316 … if (drawing && connector_points.size() > 0 && vSize2(cur_point - connector_points.back()) < 100) in generateTotalGyroidInfill() 321 connector_points.push_back(cur_point); in generateTotalGyroidInfill() 327 path_to_first_chain.push_back(cur_point); in generateTotalGyroidInfill() 352 connector_points.push_back(cur_point); in generateTotalGyroidInfill()
|
/dports/www/bluefish/bluefish-2.2.12/src/plugin_zencoding/zencoding/actions/ |
H A D | basic.py | 219 cur_point = editor.get_caret_pos() + offset 234 while cur_point < max_len and cur_point > 0: 235 cur_point += inc 236 cur_char = zencoding.utils.char_at(content, cur_point) 237 next_char = zencoding.utils.char_at(content, cur_point + 1) 238 prev_char = zencoding.utils.char_at(content, cur_point - 1) 243 next_point = cur_point + 1 246 next_point = cur_point + 1 249 if re.search(re_empty_line, get_line(cur_point - 1)): 250 next_point = cur_point
|
/dports/devel/boost-docs/boost_1_72_0/libs/polygon/benchmark/ |
H A D | voronoi_benchmark.cpp | 58 for (int cur_point = 0; cur_point < num_points; cur_point++) { in BOOST_AUTO_TEST_CASE_TEMPLATE() local 61 points[cur_point] = point_type(x, y); in BOOST_AUTO_TEST_CASE_TEMPLATE()
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/polygon/benchmark/ |
H A D | voronoi_benchmark.cpp | 58 for (int cur_point = 0; cur_point < num_points; cur_point++) { in BOOST_AUTO_TEST_CASE_TEMPLATE() local 61 points[cur_point] = point_type(x, y); in BOOST_AUTO_TEST_CASE_TEMPLATE()
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/polygon/benchmark/ |
H A D | voronoi_benchmark.cpp | 58 for (int cur_point = 0; cur_point < num_points; cur_point++) { in BOOST_AUTO_TEST_CASE_TEMPLATE() local 61 points[cur_point] = point_type(x, y); in BOOST_AUTO_TEST_CASE_TEMPLATE()
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/libs/polygon/benchmark/ |
H A D | voronoi_benchmark.cpp | 58 for (int cur_point = 0; cur_point < num_points; cur_point++) { in BOOST_AUTO_TEST_CASE_TEMPLATE() local 61 points[cur_point] = point_type(x, y); in BOOST_AUTO_TEST_CASE_TEMPLATE()
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/polygon/benchmark/ |
H A D | voronoi_benchmark.cpp | 58 for (int cur_point = 0; cur_point < num_points; cur_point++) { in BOOST_AUTO_TEST_CASE_TEMPLATE() local 61 points[cur_point] = point_type(x, y); in BOOST_AUTO_TEST_CASE_TEMPLATE()
|
/dports/databases/percona57-server/boost_1_59_0/libs/polygon/benchmark/ |
H A D | voronoi_benchmark.cpp | 58 for (int cur_point = 0; cur_point < num_points; cur_point++) { in BOOST_AUTO_TEST_CASE_TEMPLATE() local 61 points[cur_point] = point_type(x, y); in BOOST_AUTO_TEST_CASE_TEMPLATE()
|
/dports/databases/xtrabackup/boost_1_59_0/libs/polygon/benchmark/ |
H A D | voronoi_benchmark.cpp | 58 for (int cur_point = 0; cur_point < num_points; cur_point++) { in BOOST_AUTO_TEST_CASE_TEMPLATE() local 61 points[cur_point] = point_type(x, y); in BOOST_AUTO_TEST_CASE_TEMPLATE()
|
/dports/databases/percona57-client/boost_1_59_0/libs/polygon/benchmark/ |
H A D | voronoi_benchmark.cpp | 58 for (int cur_point = 0; cur_point < num_points; cur_point++) { in BOOST_AUTO_TEST_CASE_TEMPLATE() local 61 points[cur_point] = point_type(x, y); in BOOST_AUTO_TEST_CASE_TEMPLATE()
|