/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/ |
H A D | bitmap_draw_2d.c | 370 const int *co_prev = verts[i_prev]; in BLI_bitmap_draw_2d_poly_v2i_n() local 373 if (co_prev[1] != co_curr[1]) { in BLI_bitmap_draw_2d_poly_v2i_n() 375 if ((min_ii(co_prev[1], co_curr[1]) >= ymax) || (max_ii(co_prev[1], co_curr[1]) < ymin)) { in BLI_bitmap_draw_2d_poly_v2i_n() 380 if (co_prev[1] < co_curr[1]) { in BLI_bitmap_draw_2d_poly_v2i_n() 420 const int *co_prev = verts[s[0]]; in BLI_bitmap_draw_2d_poly_v2i_n() local 423 BLI_assert(co_prev[1] < pixel_y && co_curr[1] >= pixel_y); in BLI_bitmap_draw_2d_poly_v2i_n() 425 const double x = (co_prev[0] - co_curr[0]); in BLI_bitmap_draw_2d_poly_v2i_n() 426 const double y = (co_prev[1] - co_curr[1]); in BLI_bitmap_draw_2d_poly_v2i_n()
|
H A D | math_geom.c | 176 const float *co_curr, *co_prev; in cross_poly_v2() local 179 co_prev = verts[nr - 1]; in cross_poly_v2() 183 cross += (co_curr[0] - co_prev[0]) * (co_curr[1] + co_prev[1]); in cross_poly_v2() 184 co_prev = co_curr; in cross_poly_v2() 6061 const float *co_curr, *co_prev; in is_poly_convex_v2() local 6064 co_prev = verts[nr - 1]; in is_poly_convex_v2() 6067 sub_v2_v2v2(dir_prev, verts[nr - 2], co_prev); in is_poly_convex_v2() 6072 sub_v2_v2v2(dir_curr, co_prev, co_curr); in is_poly_convex_v2() 6089 co_prev = co_curr; in is_poly_convex_v2()
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/ |
H A D | crazyspace.c | 161 const float *co_prev, *co_curr, *co_next; /* orig */ in BKE_crazyspace_set_quats_editmesh() local 174 co_prev = origcos[i_prev]; in BKE_crazyspace_set_quats_editmesh() 179 co_prev = l_iter->prev->v->co; in BKE_crazyspace_set_quats_editmesh() 184 set_crazy_vertex_quat(quats[i_curr], co_curr, co_next, co_prev, vd_curr, vd_next, vd_prev); in BKE_crazyspace_set_quats_editmesh() 214 const float *co_prev, *co_curr, *co_next; /* orig */ in BKE_crazyspace_set_quats_mesh() local 223 co_prev = origcos[ml_prev->v]; in BKE_crazyspace_set_quats_mesh() 228 co_prev = mvert[ml_prev->v].co; in BKE_crazyspace_set_quats_mesh() 234 quats[ml_curr->v], co_curr, co_next, co_prev, vd_curr, vd_next, vd_prev); in BKE_crazyspace_set_quats_mesh()
|
H A D | lattice_deform.c | 172 float co_prev[3], weight_blend = 0.0f; in BKE_lattice_deform_data_eval_co() local 173 copy_v3_v3(co_prev, co); in BKE_lattice_deform_data_eval_co() 175 __m128 co_vec = _mm_loadu_ps(co_prev); in BKE_lattice_deform_data_eval_co() 266 interp_v3_v3v3(co, co_prev, co, weight_blend); in BKE_lattice_deform_data_eval_co()
|
H A D | mask_rasterize.c | 275 const float *co_prev; in maskrasterize_spline_differentiate_point_outset() local 281 co_prev = diff_points[k_prev]; in maskrasterize_spline_differentiate_point_outset() 286 sub_v2_v2v2(d_prev, co_prev, co_curr); in maskrasterize_spline_differentiate_point_outset()
|
H A D | mesh_evaluate.c | 3134 const float *co_curr, *co_prev; in BKE_mesh_tessface_calc_ex() local 3155 co_prev = mvert[ml[mp_totloop - 1].v].co; in BKE_mesh_tessface_calc_ex() 3158 add_newell_cross_v3_v3v3(normal, co_prev, co_curr); in BKE_mesh_tessface_calc_ex() 3159 co_prev = co_curr; in BKE_mesh_tessface_calc_ex() 3349 const float *co_curr, *co_prev; in BKE_mesh_recalc_looptri() local 3370 co_prev = mvert[ml[mp_totloop - 1].v].co; in BKE_mesh_recalc_looptri() 3373 add_newell_cross_v3_v3v3(normal, co_prev, co_curr); in BKE_mesh_recalc_looptri() 3374 co_prev = co_curr; in BKE_mesh_recalc_looptri()
|
/dports/graphics/blender/blender-2.91.0/source/blender/draw/intern/ |
H A D | draw_cache_impl_hair.c | 152 float *co_prev = NULL, *seg_data_first; in hair_batch_cache_fill_segments_proc_pos() local 156 if (co_prev) { in hair_batch_cache_fill_segments_proc_pos() 157 total_len += len_v3v3(co_prev, curve_co[j]); in hair_batch_cache_fill_segments_proc_pos() 163 co_prev = curve_co[j]; in hair_batch_cache_fill_segments_proc_pos()
|
H A D | draw_cache_impl_particles.c | 619 float *co_prev = NULL, *seg_data_first; in particle_batch_cache_fill_segments_proc_pos() local 623 if (co_prev) { in particle_batch_cache_fill_segments_proc_pos() 624 total_len += len_v3v3(co_prev, path[j].co); in particle_batch_cache_fill_segments_proc_pos() 630 co_prev = path[j].co; in particle_batch_cache_fill_segments_proc_pos()
|
H A D | draw_cache_extract_mesh.c | 3802 const float co_prev[3]) in compute_normalize_edge_vectors() 3811 sub_v3_v3v3(av[1], co_prev, co); in compute_normalize_edge_vectors()
|
/dports/cad/ngspice_rework/ngspice-35/src/frontend/ |
H A D | control.c | 688 cend[stackp]->co_next->co_prev = cend[stackp]; in cp_evloop() 824 } else if (cend[stackp]->co_prev) { in cp_evloop() 825 cend[stackp]->co_prev->co_next = NULL; in cp_evloop() 843 if (cend[stackp]->co_prev) in cp_evloop() 844 cend[stackp]->co_prev->co_next = NULL; in cp_evloop() 848 cend[stackp]->co_prev = NULL; in cp_evloop()
|
H A D | control.h | 28 struct control *co_prev; member
|
/dports/graphics/blender/blender-2.91.0/source/blender/bmesh/operators/ |
H A D | bmo_connect_pair.c | 120 float co_prev[3]; member 292 state->dist += len_v3v3(state->co_prev, co); in state_link_add() 294 copy_v3_v3(state->co_prev, co); in state_link_add() 352 sub_v3_v3v3(dist_dir, co_isect, state_orig->co_prev); in state_step__face_edges() 397 sub_v3_v3v3(dist_dir, co_isect, state_orig->co_prev); in state_step__face_verts()
|
/dports/cad/jspice3/jspice3-2.5/src/lib/cp/ |
H A D | front.c | 35 struct control *co_prev; member 405 cur->co_next->co_prev = cur; 539 else if (cur->co_prev) { 540 cur->co_prev->co_next = NULL; 559 if (cur->co_prev) 560 cur->co_prev->co_next = NULL; 564 cur->co_prev = NULL;
|
/dports/graphics/blender/blender-2.91.0/source/blender/bmesh/tools/ |
H A D | bmesh_decimate_collapse.c | 176 const float *co_prev = l->prev->v->co; in bm_edge_collapse_is_degenerate_flip() local 189 sub_v3_v3v3(vec_other, co_prev, co_next); in bm_edge_collapse_is_degenerate_flip() 190 sub_v3_v3v3(vec_exist, co_prev, v->co); in bm_edge_collapse_is_degenerate_flip() 191 sub_v3_v3v3(vec_optim, co_prev, optimize_co); in bm_edge_collapse_is_degenerate_flip() 202 normal_tri_v3(cross_exist, v->co, co_prev, co_next); in bm_edge_collapse_is_degenerate_flip() 203 normal_tri_v3(cross_optim, optimize_co, co_prev, co_next); in bm_edge_collapse_is_degenerate_flip()
|
/dports/graphics/blender/blender-2.91.0/source/blender/python/mathutils/ |
H A D | mathutils_bvhtree.c | 840 const float *co_prev; in C_BVHTree_FromPolygons() local 848 co_prev = coords[plink->poly[plink->len - 1]]; in C_BVHTree_FromPolygons() 851 add_newell_cross_v3_v3v3(normal, co_prev, co_curr); in C_BVHTree_FromPolygons() 852 co_prev = co_curr; in C_BVHTree_FromPolygons()
|
/dports/devel/cligen/cligen-4.8.0/ |
H A D | cligen_object.h | 163 struct cg_obj *co_prev; /* Parent */ member
|
H A D | cligen_object.c | 74 return co->co_prev; in co_up() 80 co->co_prev = cop; in co_up_set()
|
/dports/net/dgd/dgd-1.4.23/src/ |
H A D | data.c | 212 data->callouts[co->co_prev - 1].co_next = co->co_next; in d_alloc_call_out() 214 data->callouts[co->co_next - 1].co_prev = co->co_prev; in d_alloc_call_out() 232 data->callouts[co->co_next - 1].co_prev = handle; in d_alloc_call_out() 301 data->callouts[n - 1].co_prev = handle; in d_free_call_out() 1391 data->callouts[n - 1].co_prev = handle; in d_get_call_out()
|
H A D | data.h | 162 # define co_prev time macro
|
H A D | sdata.c | 2228 data->callouts[co->co_prev - 1].co_next = co->co_next; in d_save_dataspace() 2231 data->callouts[co->co_next - 1].co_prev = co->co_prev; in d_save_dataspace()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/transform/ |
H A D | transform_convert_mesh.c | 1368 const float *co_prev = trans_vert_orig_co_get(tcld, l_prev->v); in mesh_customdatacorrect_apply_vert() local 1379 project_plane_normalized_v3_v3v3(v_proj[0], co_prev, v_proj_axis); in mesh_customdatacorrect_apply_vert() 1382 co_prev = trans_vert_orig_co_get(tcld, l_prev->v); in mesh_customdatacorrect_apply_vert() 1383 project_plane_normalized_v3_v3v3(v_proj[0], co_prev, v_proj_axis); in mesh_customdatacorrect_apply_vert()
|
/dports/graphics/blender/blender-2.91.0/extern/curve_fit_nd/intern/ |
H A D | curve_fit_cubic_refit.c | 1000 const double *co_prev = ¶ms.pd->points[k_prev->index * dims]; in curve_incremental_simplify_corners() local 1004 project_vn_vnvn_normalized(k_proj_ref, co_prev, k_prev->tan[1], dims); in curve_incremental_simplify_corners()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/physics/ |
H A D | particle_edit.c | 3680 float co_prev[3], co[3]; /* track key coords as we loop (global-space) */ in brush_puff() local 3741 copy_v3_v3(co_prev, co); in brush_puff() 3744 length = len_v3v3(co_prev, co); in brush_puff()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/uvedit/ |
H A D | uvedit_parametrizer.c | 4456 const float *co_curr, *co_prev = co[nverts - 1]; in p_add_ngon() local 4459 add_newell_cross_v3_v3v3(normal, co_prev, co_curr); in p_add_ngon() 4460 co_prev = co_curr; in p_add_ngon()
|