/dports/graphics/kludge3d/kludge3d-20040822/src/ |
H A D | vertex.c | 66 while( v->num_polys > 0 ) { in vertex_remove() 86 np->num_polys = 0; in vertex_dup() 110 v->polys[v->num_polys] = p; in vertex_add_poly() 111 v->num_polys++; in vertex_add_poly() 123 if( v->num_polys <= 0 ) return; in vertex_remove_poly() 126 if( v->num_polys == 1 ) { in vertex_remove_poly() 143 v->num_polys--; in vertex_remove_poly() 151 for( i = 0; i < v->num_polys; i++ ) { in vertex_has_poly() 162 return( v->num_polys > 0 ); in vertex_is_in_use() 287 for( i = 0; i < v->num_polys; i++ ) { in verts_get_polys_unique() [all …]
|
H A D | tools.c | 378 int i, num_polys; in tools_vertices_weld() local 398 num_polys = v2->num_polys; in tools_vertices_weld() 399 polylist = (Poly**)malloc( num_polys * sizeof( Poly* ) ); in tools_vertices_weld() 400 memcpy( polylist, v2->polys, num_polys * sizeof( Poly* ) ); in tools_vertices_weld() 402 for( i = 0; i < num_polys; i++ ) { in tools_vertices_weld() 1478 if( v->num_polys == 0 ) in tools_scale_along_normals() 1485 for( i = 0; i < v->num_polys; i++ ) { in tools_scale_along_normals() 1488 vector_mul( avg_normal, avg_normal, 1. / (float)v->num_polys ); in tools_scale_along_normals()
|
H A D | geo.h | 57 int num_polys; member
|
/dports/science/v_sim/v_sim-3.8.0/src/extraFunctions/ |
H A D | surfaces_points.c | 113 for (i = 0; i < points->num_polys; i++) 269 points->num_polys = nPolys; 349 points->num_polys - nPoly, 427 points->num_polys = nPoly; 441 if(points->num_polys == 0) 463 points->num_polys = 0; 486 points->num_polys = 0; 527 old_num_polys = points->num_polys; 658 edges->num_polys = 0; 664 iPoly = edges->num_polys; [all …]
|
H A D | surfaces_tests.c | 104 g_return_val_if_fail(points->num_polys == 0, FALSE); in test_visu_surface_points_init() 204 g_return_val_if_fail(points->num_polys == NB_POLYS / 2 + 1, FALSE); in test_visu_surface_points_remove_1() 255 g_return_val_if_fail(points->num_polys == 0, FALSE); in test_visu_surface_points_remove_all()
|
H A D | surfaces_points.h | 78 guint num_polys, num_points;
|
/dports/games/avp/avp-20170505/src/win95/ |
H A D | chnktype.cpp | 429 num_polys = 0; in ChunkShape() 452 num_polys = shp.num_polys; in ChunkShape() 473 for (i=0; i<num_polys; i++) in ChunkShape() 480 for (i=0; i<num_polys; i++) in ChunkShape() 521 num_polys = shp.num_polys; in operator =() 544 for (i=0; i<num_polys; i++) in operator =() 717 num_polys=0; in ChunkAnimFrame() 735 num_polys=frm.num_polys; in ChunkAnimFrame() 738 if(num_polys) in ChunkAnimFrame() 818 num_polys=frm.num_polys; in operator =() [all …]
|
H A D | shpchunk.cpp | 740 for (i=0;i<num_polys;i++) in Shape_Polygon_Normal_Chunk() 757 for (i=0;i<num_polys;i++) in Shape_Polygon_Normal_Chunk() 774 for (i=0;i<num_polys;i++) in Shape_Polygon_Normal_Chunk() 837 parent->shape_data_store->num_polys = num_polys; in Shape_Polygon_Chunk() 841 for (i=0; i<num_polys; i++) in Shape_Polygon_Chunk() 867 parent->shape_data_store->num_polys = num_polys; in Shape_Polygon_Chunk() 871 for (i=0; i<num_polys; i++) in Shape_Polygon_Chunk() 900 for (i=0; i<num_polys; i++) in Shape_Polygon_Chunk() 949 for (i=0;i<num_polys;i++) { in fill_data_block() 2717 caf->num_polys=spnc->num_polys; in ConstructSequenceDataFromChildren() [all …]
|
H A D | shpchunk.hpp | 484 return (chunk_size = (12 + (num_polys*sizeof(ChunkVectorFloat)))); in size_chunk() 493 const int num_polys; member in Shape_Polygon_Normal_Chunk 506 poly_norm_data (parent->shape_data_store->p_normal_list), num_polys (n_polys) in Shape_Polygon_Normal_Chunk() 516 poly_norm_data (p_normal_list), num_polys (n_polys) in Shape_Polygon_Normal_Chunk() 534 return (chunk_size = (12 + (num_polys*36)));// 36 bytes per vertex in size_chunk() 543 const int num_polys; member in Shape_Polygon_Chunk 556 poly_data (parent->shape_data_store->poly_list), num_polys (n_polys) in Shape_Polygon_Chunk() 561 poly_data (parent->shape_data_store->poly_list), num_polys (n_polys) in Shape_Polygon_Chunk() 566 poly_data (parent->shape_data_store->poly_list), num_polys (n_polys) in Shape_Polygon_Chunk() 746 int num_polys; member in Shape_Merge_Data_Chunk [all …]
|
H A D | chnktype.hpp | 173 int num_polys; member 320 int num_polys; member
|
/dports/graphics/blender/blender-2.91.0/source/blender/modifiers/intern/ |
H A D | MOD_normal_edit.c | 193 const int num_polys) in polygons_check_flip() argument 200 for (i = 0, mp = mpoly; i < num_polys; i++, mp++) { in polygons_check_flip() 244 const int num_polys) in normalEditModifier_do_radial() argument 353 num_polys, in normalEditModifier_do_radial() 465 num_polys, in normalEditModifier_do_directional() 527 const int num_polys = result->totpoly; in normalEditModifier_do() local 556 num_polys, in normalEditModifier_do() 576 num_polys, in normalEditModifier_do() 611 num_polys); in normalEditModifier_do() 634 num_polys); in normalEditModifier_do() [all …]
|
H A D | MOD_ocean.c | 266 int num_polys; in generate_ocean_geometry() local 276 num_polys = gogd.res_x * gogd.res_y; in generate_ocean_geometry() 286 result = BKE_mesh_new_nomain(num_verts, 0, 0, num_polys * 4, num_polys); in generate_ocean_geometry() 308 &result->ldata, CD_MLOOPUV, CD_CALLOC, NULL, num_polys * 4); in generate_ocean_geometry() 389 const int num_polys = result->totpoly; in doOcean() local 405 for (i = 0, mp = mpolys; i < num_polys; i++, mp++) { in doOcean()
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/ |
H A D | polygon.c | 153 STORE(poly_t, pdata, num_polys, max_polys, t); in P_start_polygon() 222 pdata[num_polys - 1].destroyed_style = style; in P_style() 233 pdata[num_polys - 1].pos.cx, pdata[num_polys - 1].pos.cy); in P_end_polygon() 239 pdata[num_polys - 1].num_points = ptscount; in P_end_polygon() 240 pdata[num_polys - 1].num_echanges in P_end_polygon() 241 = ecount -pdata[num_polys - 1].estyles_start; in P_end_polygon()
|
/dports/math/vtk9/VTK-9.1.0/IO/GeoJSON/Testing/Python/ |
H A D | TestGeoJSONReader.py | 96 num_polys = polydata.GetNumberOfPolys() variable 97 if num_polys != expected_polys: 99 (num_polys, expected_polys))
|
/dports/math/vtk8/VTK-8.2.0/IO/GeoJSON/Testing/Python/ |
H A D | TestGeoJSONReader.py | 96 num_polys = polydata.GetNumberOfPolys() variable 97 if num_polys != expected_polys: 99 (num_polys, expected_polys))
|
/dports/games/xray_re-tools/xray_re-tools-52721d2/sources/utils/converter/ |
H A D | level_aux_mesh.cxx | 48 refs.reserve(3*hom.num_polys()); in build() 49 m_faces.reserve(hom.num_polys()); in build() 51 for (const hom_poly *it = hom.polys(), *end = it + hom.num_polys(); it != end; ++it) { in build() 81 refs.reserve(3*som.num_polys()); in build() 82 m_faces.reserve(som.num_polys()); in build() 84 for (const som_poly *it = som.polys(), *end = it + som.num_polys(); it != end; ++it) { in build()
|
/dports/cad/openroad/OpenROAD-2.0/src/OpenDB/src/def/cdef/ |
H A D | xdefwWriter.cpp | 193 return LefDefParser::defwViaPolygon(layerName, num_polys, xl, yl, mask); in defwViaPolygon() 488 int defwSpecialNetPolygon (const char* layerName, int num_polys, double* xl, double* yl) { in defwSpecialNetPolygon() argument 489 return LefDefParser::defwSpecialNetPolygon(layerName, num_polys, xl, yl); in defwSpecialNetPolygon() 928 int defwBlockagesPolygon (int num_polys, int* xl, int* yl) { in defwBlockagesPolygon() argument 929 return LefDefParser::defwBlockagesPolygon(num_polys, xl, yl); in defwBlockagesPolygon() 960 int defwBlockagePolygon (int num_polys, int* xl, int* yl) { in defwBlockagePolygon() argument 961 return LefDefParser::defwBlockagePolygon(num_polys, xl, yl); in defwBlockagePolygon() 980 int defwSlotPolygon (int num_polys, double* xl, double* yl) { in defwSlotPolygon() argument 981 return LefDefParser::defwSlotPolygon(num_polys, xl, yl); in defwSlotPolygon() 1008 int defwFillPolygon (int num_polys, double* xl, double* yl) { in defwFillPolygon() argument [all …]
|
H A D | defwWriter.h | 324 EXTERN int defwViaPolygon (const char* layerName, int num_polys, double* xl, double* yl, int m… 529 …lygon (const char* layerName, int spacing, int designRuleWidth, int num_polys, double* xl, do… 559 …lygon (const char* layerName, int spacing, int designRuleWidth, int num_polys, double* xl, do… 769 EXTERN int defwSpecialNetPolygon (const char* layerName, int num_polys, double* xl, double* yl); 1206 EXTERN int defwBlockagesPolygon (int num_polys, int* xl, int* yl); 1251 EXTERN int defwBlockagePolygon (int num_polys, int* xl, int* yl); 1276 EXTERN int defwSlotPolygon (int num_polys, double* xl, double* yl); 1310 EXTERN int defwFillPolygon (int num_polys, double* xl, double* yl);
|
/dports/cad/openroad/OpenROAD-2.0/src/OpenDB/src/def/def/ |
H A D | defwWriter.hpp | 409 int num_polys, 691 int num_polys, double* xl, double* yl, 730 int num_polys, double* xl, double* yl, 967 int num_polys, double* xl, double* yl); 1494 extern int defwBlockagesPolygon(int num_polys, int* xl, int* yl); 1539 extern int defwBlockagePolygon(int num_polys, int* xl, int* yl); 1564 extern int defwSlotPolygon(int num_polys, double* xl, double* yl); 1598 extern int defwFillPolygon(int num_polys, double* xl, double* yl);
|
/dports/games/xray_re-tools/xray_re-tools-52721d2/sources/xray_re/ |
H A D | xr_level_hom.h | 42 uint32_t num_polys() const; 52 inline uint32_t xr_level_hom::num_polys() const { return m_num_polys; } in num_polys() function
|
H A D | xr_level_som.h | 41 uint32_t num_polys() const; 51 inline uint32_t xr_level_som::num_polys() const { return m_num_polys; } in num_polys() function
|
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/io_scene_x3d/ |
H A D | import_x3d.py | 1725 num_polys = len(index) // 3 1729 bpymesh.loops.add(num_polys * 3) 1730 bpymesh.polygons.add(num_polys) 1751 bpymesh.loops.add(num_polys * 3) 1752 bpymesh.polygons.add(num_polys) 1788 bpymesh.polygons.add(num_polys) 1816 num_polys = n // 3 1818 bpymesh.polygons.add(num_polys) 1840 bpymesh.polygons.add(num_polys) 1866 bpymesh.polygons.add(num_polys) [all …]
|
/dports/audio/din/din-52/src/ |
H A D | mesh.cc | 19 num_polys = 0; in mesh() 30 ++num_polys; in add_poly() 32 int np = num_polys * 4; in add_poly() 50 --num_polys; in remove_poly()
|
/dports/misc/libpostal/libpostal-1.1-alpha/scripts/geodata/neighborhoods/ |
H A D | reverse_geocode.py | 325 num_polys = 0 466 num_polys += 1 467 if num_polys % 1000 == 0 and num_polys > 0: 468 logger.info('did {} neighborhoods'.format(num_polys))
|
/dports/cad/cura-engine/CuraEngine-fadb5d6b/src/ |
H A D | InsetOrderOptimizer.cpp | 562 const unsigned int num_polys = inset_polys[inset_level].size(); in processInsetsWithOptimizedOrdering() local 563 if (inset_level == 1 && num_polys > 0) in processInsetsWithOptimizedOrdering() 565 …rning("Layer %d, %lu level 1 insets remaining to be output (should be 0!)\n", layer_nr, num_polys); in processInsetsWithOptimizedOrdering() 567 for (unsigned int poly_idx = 0; poly_idx < num_polys; ++poly_idx) in processInsetsWithOptimizedOrdering()
|