/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/ |
H A D | multires_inline.h | 37 mul_v3_fl(tangent_matrix[0], -1.0f); in BKE_multires_construct_tangent_matrix() 38 mul_v3_fl(tangent_matrix[1], -1.0f); in BKE_multires_construct_tangent_matrix() 43 mul_v3_fl(tangent_matrix[1], -1.0f); in BKE_multires_construct_tangent_matrix() 52 mul_v3_fl(tangent_matrix[0], -1.0f); in BKE_multires_construct_tangent_matrix()
|
H A D | boids.c | 194 mul_v3_fl(bbd->wanted_co, mul); in rule_goal_avoid() 543 mul_v3_fl(vec2, t); in rule_follow_leader() 603 mul_v3_fl(vec2, t); in rule_follow_leader() 667 mul_v3_fl(bbd->wanted_co, 1.1f); in rule_average_speed() 674 mul_v3_fl(vec, asbr->level); in rule_average_speed() 691 mul_v3_fl(vec, asbr->level); in rule_average_speed() 1215 mul_v3_fl(jump_v, len); in boid_brain() 1355 mul_v3_fl(new_vel, new_speed); in boid_body() 1398 mul_v3_fl(force, length); in boid_body() 1411 mul_v3_fl(acc, 1.0f / pa_mass); in boid_body() [all …]
|
H A D | particle_child.c | 302 mul_v3_fl(dvec, (max_length - *cur_length) / step_length); in check_path_length() 386 mul_v3_fl((key - 1)->vel, 0.5); in psys_apply_child_modifiers() 535 mul_v3_fl(y_vec, amplitude * cosf(t)); in do_kink() 536 mul_v3_fl(z_vec, amplitude / 2.f * sinf(2.f * t)); in do_kink() 542 mul_v3_fl(y_vec, -amplitude * cosf(t + (float)M_PI / 3.f)); in do_kink() 549 mul_v3_fl(y_vec, amplitude * -sinf(t + (float)M_PI / 6.f)); in do_kink() 553 mul_v3_fl(state_co, amplitude); in do_kink() 558 mul_v3_fl(par_vec, MIN2(length, amplitude / 2.f)); in do_kink() 646 mul_v3_fl(&pa[0], clump_noise_size); in do_clump() 676 mul_v3_fl(rco, t); in do_rough() [all …]
|
H A D | effect.c | 626 mul_v3_fl(surface_vel, (1.0f / 3.0f)); in closest_point_on_surface() 649 mul_v3_fl(vec, point->vel_to_frame); in get_effector_data() 936 mul_v3_fl(force, strength * efd->falloff); in do_physical_effector() 948 mul_v3_fl(force, strength * efd->falloff); in do_physical_effector() 960 mul_v3_fl(temp, strength * efd->falloff); in do_physical_effector() 979 mul_v3_fl(temp, strength * efd->falloff); in do_physical_effector() 981 mul_v3_fl(force, point->vel_to_sec); in do_physical_effector() 984 mul_v3_fl(force, -strength * efd->falloff); in do_physical_effector() 1000 mul_v3_fl(force, strength * fac); in do_physical_effector() 1015 mul_v3_fl(force, strength * efd->falloff); in do_physical_effector() [all …]
|
H A D | armature_update.c | 398 mul_v3_fl(poseMat[1], scaleFac); in splineik_evaluate_bone() 409 mul_v3_fl(poseMat[0], scale); in splineik_evaluate_bone() 412 mul_v3_fl(poseMat[2], scale); in splineik_evaluate_bone() 440 mul_v3_fl(poseMat[0], scale); in splineik_evaluate_bone() 441 mul_v3_fl(poseMat[2], scale); in splineik_evaluate_bone() 487 mul_v3_fl(poseMat[0], final_scale); in splineik_evaluate_bone() 488 mul_v3_fl(poseMat[2], final_scale); in splineik_evaluate_bone() 498 mul_v3_fl(poseMat[0], radius); in splineik_evaluate_bone() 499 mul_v3_fl(poseMat[2], radius); in splineik_evaluate_bone()
|
H A D | kelvinlet.c | 144 mul_v3_fl(k_it[0], 0.5f); in sculpt_kelvinet_integrate() 148 mul_v3_fl(k_it[1], 0.5f); in sculpt_kelvinet_integrate() 159 mul_v3_fl(r_disp, 1.0f / 6.0f); in sculpt_kelvinet_integrate()
|
H A D | multires_reshape_apply_base.c | 129 mul_v3_fl(center, 1.0f / tot); in multires_reshape_apply_base_refit_base_mesh() 169 mul_v3_fl(push, dist); in multires_reshape_apply_base_refit_base_mesh()
|
H A D | curve_deform.c | 111 mul_v3_fl(dvec, ctime * (float)path->len); in where_on_path_deform() 122 mul_v3_fl(dvec, (ctime - 1.0f) * (float)path->len); in where_on_path_deform() 234 mul_v3_fl(cent, radius); in calc_curve_deform()
|
H A D | particle_system.c | 1492 mul_v3_fl(dx[0], dtime); in integrate_particle() 1494 mul_v3_fl(dv[0], dtime); in integrate_particle() 1503 mul_v3_fl(dx[1], dtime); in integrate_particle() 1505 mul_v3_fl(dv[1], dtime); in integrate_particle() 1513 mul_v3_fl(dx[2], dtime); in integrate_particle() 1515 mul_v3_fl(dv[2], dtime); in integrate_particle() 1524 mul_v3_fl(dx[3], dtime); in integrate_particle() 1526 mul_v3_fl(dv[3], dtime); in integrate_particle() 2965 mul_v3_fl(vr_tan, pa->size); in collision_response() 4373 mul_v3_fl(resDomain, 0.5f); in particles_fluid_step() [all …]
|
H A D | softbody.c | 1118 mul_v3_fl(nv1, time); in sb_detect_face_pointCached() 1227 mul_v3_fl(nv1, time); in sb_detect_face_collisionCached() 1230 mul_v3_fl(nv2, time); in sb_detect_face_collisionCached() 1233 mul_v3_fl(nv3, time); in sb_detect_face_collisionCached() 1403 mul_v3_fl(nv1, time); in sb_detect_edge_collisionCached() 1406 mul_v3_fl(nv2, time); in sb_detect_edge_collisionCached() 1409 mul_v3_fl(nv3, time); in sb_detect_edge_collisionCached() 1724 mul_v3_fl(nv1, time); in sb_detect_vertex_collisionCached() 2095 mul_v3_fl(gravity, in _softbody_calc_forces_slice_in_a_thread() 2418 mul_v3_fl(dx, forcetime); in softbody_apply_forces() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/compositor/operations/ |
H A D | COM_GlareSimpleStarOperation.cpp | 44 mul_v3_fl(c, f1); in generateGlare() 53 mul_v3_fl(c, f1); in generateGlare() 73 mul_v3_fl(c, f1); in generateGlare() 82 mul_v3_fl(c, f1); in generateGlare()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_view3d/ |
H A D | view3d_gizmo_navigate_type.c | 119 mul_v3_fl(dy, 2.0f); in draw_xyz_wire() 131 mul_v3_fl(dx, 0.75f); in draw_xyz_wire() 141 mul_v3_fl(dy, 2.0f); in draw_xyz_wire() 158 mul_v3_fl(dx, 2.0f); in draw_xyz_wire() 163 mul_v3_fl(dy, 2.0f); in draw_xyz_wire()
|
H A D | view3d_gizmo_camera.c | 210 mul_v3_fl(widget->matrix_basis[0], scale_matrix); in WIDGETGROUP_camera_refresh() 211 mul_v3_fl(widget->matrix_basis[1], scale_matrix); in WIDGETGROUP_camera_refresh() 465 mul_v3_fl(gz->matrix_space[0], BLI_rctf_size_x(&viewgroup->state.view_border)); in WIDGETGROUP_camera_view_draw_prepare() 466 mul_v3_fl(gz->matrix_space[1], BLI_rctf_size_y(&viewgroup->state.view_border)); in WIDGETGROUP_camera_view_draw_prepare()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/transform/ |
H A D | transform_mode_shear.c | 195 mul_v3_fl(vec, td->factor * gps->runtime.multi_frame_falloff); in applyShear() 198 mul_v3_fl(vec, td->factor); in applyShear() 202 mul_v3_fl(vec, td->factor); in applyShear()
|
H A D | transform_mode_translate.c | 333 mul_v3_fl(tvec, td->factor * gps->runtime.multi_frame_falloff); in applyTranslationValue() 336 mul_v3_fl(tvec, td->factor); in applyTranslationValue() 341 mul_v3_fl(tvec, td->factor); in applyTranslationValue()
|
/dports/graphics/blender/blender-2.91.0/source/blender/gpu/intern/ |
H A D | gpu_material.c | 369 mul_v3_fl(rad, 1.0f + sharpness); in compute_sss_kernel() 475 mul_v3_fl(profile, disk_area); in compute_sss_translucence_kernel() 480 mul_v3_fl(texels[i], 1.0f / (area_accum)); in compute_sss_translucence_kernel() 496 mul_v3_fl(texels[resolution - 2], 0.25f); in compute_sss_translucence_kernel() 497 mul_v3_fl(texels[resolution - 3], 0.5f); in compute_sss_translucence_kernel() 498 mul_v3_fl(texels[resolution - 4], 0.75f); in compute_sss_translucence_kernel()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/sculpt_paint/ |
H A D | sculpt_pose.c | 198 mul_v3_fl(disp, segments[ik].weights[vd.index]); in do_pose_brush_task_cb_ex() 202 mul_v3_fl(disp, 1.0f - mask); in do_pose_brush_task_cb_ex() 314 mul_v3_fl(gftd.pos_avg, 1.0f / (float)gftd.pos_count); in sculpt_pose_grow_pose_factor() 578 mul_v3_fl(fdata.pose_origin, 1.0f / (float)fdata.tot_co); in SCULPT_pose_calc_pose_data() 801 mul_v3_fl(fdata.pose_origin, 1.0f / (float)fdata.tot_co); in pose_ik_chain_init_face_sets() 805 mul_v3_fl(fdata.fallback_origin, 1.0f / (float)fdata.fallback_count); in pose_ik_chain_init_face_sets() 920 mul_v3_fl(ik_chain->segments[0].orig, 1.0f / origin_count); in pose_ik_chain_init_face_sets_fk() 928 mul_v3_fl(ik_chain->segments[0].head, 1.0f / target_count); in pose_ik_chain_init_face_sets_fk() 1202 mul_v3_fl(ik_chain->segments[i].trans_mat[symm_it][scale_i], in SCULPT_do_pose_brush()
|
/dports/graphics/blender/blender-2.91.0/source/blender/modifiers/intern/ |
H A D | MOD_solidify_nonmanifold.c | 409 mul_v3_fl(edgedir, in MOD_solidify_nonmanifold_modifyMesh() 721 mul_v3_fl(edgedir, 1.0f / orig_edge_lengths[i]); in MOD_solidify_nonmanifold_modifyMesh() 1570 mul_v3_fl(face_nors[0], nor_ofs[0] * d); in MOD_solidify_nonmanifold_modifyMesh() 1571 mul_v3_fl(face_nors[1], nor_ofs[1] * d); in MOD_solidify_nonmanifold_modifyMesh() 1576 mul_v3_fl(face_nors[2], nor_ofs[2]); in MOD_solidify_nonmanifold_modifyMesh() 1667 mul_v3_fl(nor, total_angle / length_sq); in MOD_solidify_nonmanifold_modifyMesh() 1698 mul_v3_fl(nor, 0.5f); in MOD_solidify_nonmanifold_modifyMesh() 1699 mul_v3_fl(nor_back, 0.5f); in MOD_solidify_nonmanifold_modifyMesh() 1706 mul_v3_fl(nor, 1.0f / total_angle); in MOD_solidify_nonmanifold_modifyMesh() 1712 mul_v3_fl(nor, 0.5f); in MOD_solidify_nonmanifold_modifyMesh() [all …]
|
H A D | MOD_smooth.c | 151 mul_v3_fl(accumulated_vecs[i], 1.0f / (float)num_accumulated_vecs[i]); in smoothModifier_do() 178 mul_v3_fl(accumulated_vecs[i], 1.0f / (float)num_accumulated_vecs[i]); in smoothModifier_do()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_clip/ |
H A D | tracking_ops_orient.c | 208 mul_v3_fl(median, 1.0f / selected_count); in set_origin_exec() 653 mul_v3_fl(track->bundle_pos, scale); in do_set_scale() 658 mul_v3_fl(reconstructed_cameras[i].mat[3], scale); in do_set_scale() 666 mul_v3_fl(object->scale, scale); in do_set_scale() 667 mul_v3_fl(object->loc, scale); in do_set_scale()
|
/dports/graphics/blender/blender-2.91.0/source/blender/bmesh/operators/ |
H A D | bmo_normals.c | 125 mul_v3_fl(cent, 1.0f / cent_area_accum); in recalc_face_normals_find_index() 156 mul_v3_fl(dir, 1.0f / sqrtf(test.dist_sq)); in recalc_face_normals_find_index()
|
H A D | bmo_inset.c | 353 mul_v3_fl(tvec, shell_v3v3_mid_normalized_to_dist(eno_prev, eno_next)); in bmo_face_inset_individual() 358 mul_v3_fl(tvec, in bmo_face_inset_individual() 993 mul_v3_fl(tvec, shell_v3v3_mid_normalized_to_dist(e_info_a->no, e_info_b->no)); in bmo_inset_region_exec() 997 mul_v3_fl( in bmo_inset_region_exec() 1009 mul_v3_fl(tvec, in bmo_inset_region_exec() 1078 mul_v3_fl(tvec, shell_v3v3_normalized_to_dist(e_no_a, tvec)); in bmo_inset_region_exec() 1089 mul_v3_fl(tvec, edge_info[vecpair[0]].length); in bmo_inset_region_exec()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/gpencil/ |
H A D | gpencil_vertex_paint.c | 403 mul_v3_fl(grid->color, (1.0f / (float)grid->totcol)); in gpencil_grid_colors_calc() 444 mul_v3_fl(pt->vert_color, pt->vert_color[3]); in brush_tint_apply() 450 mul_v3_fl(pt->vert_color, 1.0f / pt->vert_color[3]); in brush_tint_apply() 463 mul_v3_fl(gps->vert_color_fill, gps->vert_color_fill[3]); in brush_tint_apply() 469 mul_v3_fl(gps->vert_color_fill, 1.0f / gps->vert_color_fill[3]); in brush_tint_apply() 531 mul_v3_fl(r_color, (1.0f / (float)totcol)); in get_surrounding_color() 1039 mul_v3_fl(average_color, (1.0f / (float)totcol)); in gpencil_vertexpaint_brush_do_frame()
|
/dports/graphics/blender/blender-2.91.0/source/blender/ikplugin/intern/ |
H A D | iksolver_plugin.c | 269 mul_v3_fl(vec, pchan->bone->length); in where_is_ik_bone() 552 mul_v3_fl(tree->basis_change[a][0], stretch); in execute_posetree() 553 mul_v3_fl(tree->basis_change[a][1], stretch); in execute_posetree() 554 mul_v3_fl(tree->basis_change[a][2], stretch); in execute_posetree()
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/ |
H A D | math_geom.c | 128 mul_v3_fl(n, 0.5f); in area_squared_tri_v3() 162 mul_v3_fl(n, 0.5f); in area_squared_poly_v3() 1083 mul_v3_fl(r, w); in closest_on_tri_to_point_v3() 1095 mul_v3_fl(ac, w); in closest_on_tri_to_point_v3() 2062 mul_v3_fl(e1, du); 2063 mul_v3_fl(e2, dv); 2849 mul_v3_fl(ipoint, e); in isect_sweeping_sphere_tri_v3() 3081 mul_v3_fl(a, f1); in isect_line_line_strict_v3() 4694 mul_v3_fl(vec, u * v); in interp_bilinear_quad_v3() 4706 mul_v3_fl(res, u); in interp_barycentric_tri_v3() [all …]
|