Searched refs:old_polygon (Results 1 – 6 of 6) sorted by relevance
/dports/cad/qelectrotech/qet-0.7.0/sources/QetGraphicsItemModeler/ |
H A D | qetgraphicshandlerutility.cpp | 195 QPolygonF QetGraphicsHandlerUtility::polygonForInsertPoint(const QPolygonF &old_polygon, bool close… in polygonForInsertPoint() argument 200 for (int i=1 ; i<old_polygon.size() ; i++) in polygonForInsertPoint() 202 QPointF A = old_polygon.at(i-1); in polygonForInsertPoint() 203 QPointF B = old_polygon.at(i); in polygonForInsertPoint() 224 QLineF line_a(old_polygon.last(), pos); in polygonForInsertPoint() 225 QLineF line_b(pos, old_polygon.first()); in polygonForInsertPoint() 234 index=old_polygon.size(); in polygonForInsertPoint() 238 QPolygonF polygon = old_polygon; in polygonForInsertPoint()
|
H A D | qetgraphicshandlerutility.h | 43 …static QPolygonF polygonForInsertPoint(const QPolygonF &old_polygon, bool closed, const QPointF &p…
|
/dports/games/alephone/alephone-release-20190331/Source_Files/GameWorld/ |
H A D | projectiles.cpp | 775 struct polygon_data *old_polygon; in translate_projectile() local 787 old_polygon= get_polygon_data(old_polygon_index); in translate_projectile() 794 media_data *media = get_media_data(old_polygon->media_index); in translate_projectile() 835 …if ((traveled_underneath || intersection.z>media_height) && intersection.z>old_polygon->floor_heig… in translate_projectile() 838 …if ((!traveled_underneath || intersection.z<media_height) && intersection.z<old_polygon->ceiling_h… in translate_projectile() 849 old_polygon= adjacent_polygon; in translate_projectile() 880 …contact= (traveled_underneath || old_polygon->floor_height>media_height) ? _hit_floor : _hit_media; in translate_projectile() 898 …if ((traveled_underneath || new_location->z>media_height) && new_location->z>old_polygon->floor_he… in translate_projectile() 910 if (old_polygon->ceiling_transfer_mode==_xfer_landscape) flags|= _projectile_hit_landscape; in translate_projectile() 919 if (old_polygon->floor_transfer_mode==_xfer_landscape) flags|= _projectile_hit_landscape; in translate_projectile() [all …]
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Utilities/simmToOpenSim/ |
H A D | normtools.h | 83 void trisect_fiver(PolyhedronStruct* ph, int old_polygon); 84 void bisect_sixer(PolyhedronStruct* ph, int old_polygon);
|
H A D | normtools.c | 2798 void trisect_fiver(PolyhedronStruct* ph, int old_polygon) in trisect_fiver() argument 2806 p = &ph->polygon[old_polygon]; in trisect_fiver() 2854 printf("Zero-area fiver found (%d)\n", old_polygon); in trisect_fiver() 2870 change_vertex_indices(ph,old_polygon,v_index,3); in trisect_fiver() 2875 void bisect_sixer(PolyhedronStruct* ph, int old_polygon) in bisect_sixer() argument 2883 p = &ph->polygon[old_polygon]; in bisect_sixer() 2936 printf("Zero-area sixer found (%d)\n", old_polygon); in bisect_sixer() 2945 v_index[0] = ph->polygon[old_polygon].vertex_index[v_split]; in bisect_sixer() 2946 v_index[1] = ph->polygon[old_polygon].vertex_index[(v_split+1)%6]; in bisect_sixer() 2947 v_index[2] = ph->polygon[old_polygon].vertex_index[(v_split+2)%6]; in bisect_sixer() [all …]
|
/dports/games/alephone/alephone-release-20190331/Source_Files/Lua/ |
H A D | lua_player.cpp | 1433 short old_polygon = get_object_data(player->object_index)->polygon; in Lua_Player_Find_Target() local 1444 …uint16 flags = translate_projectile(0, &origin, old_polygon, &destination, &new_polygon, player->m… in Lua_Player_Find_Target() 1449 old_polygon = new_polygon; in Lua_Player_Find_Target() 1452 …flags = translate_projectile(0, &origin, old_polygon, &destination, &new_polygon, player->monster_… in Lua_Player_Find_Target()
|