|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| MINLINE void | zero_v2 (float r[2]) |
| MINLINE void | zero_v3 (float r[3]) |
| MINLINE void | zero_v4 (float r[4]) |
| MINLINE void | copy_v2_v2 (float r[2], const float a[2]) |
| MINLINE void | copy_v3_v3 (float r[3], const float a[3]) |
| MINLINE void | copy_v4_v4 (float r[4], const float a[4]) |
| MINLINE void | swap_v2_v2 (float a[2], float b[2]) |
| MINLINE void | swap_v3_v3 (float a[3], float b[3]) |
| MINLINE void | swap_v4_v4 (float a[4], float b[4]) |
| MINLINE void | add_v3_fl (float r[3], float f) |
| MINLINE void | add_v4_fl (float r[4], float f) |
| MINLINE void | add_v2_v2 (float r[2], const float a[2]) |
| MINLINE void | add_v2_v2v2 (float r[2], const float a[2], const float b[2]) |
| MINLINE void | add_v3_v3 (float r[3], const float a[3]) |
| MINLINE void | add_v3_v3v3 (float r[3], const float a[3], const float b[3]) |
| MINLINE void | sub_v2_v2 (float r[2], const float a[2]) |
| MINLINE void | sub_v2_v2v2 (float r[2], const float a[2], const float b[2]) |
| MINLINE void | sub_v3_v3 (float r[3], const float a[3]) |
| MINLINE void | sub_v3_v3v3 (float r[3], const float a[3], const float b[3]) |
| MINLINE void | sub_v4_v4 (float r[4], const float a[4]) |
| MINLINE void | sub_v4_v4v4 (float r[4], const float a[4], const float b[4]) |
| MINLINE void | mul_v2_fl (float r[2], float f) |
| MINLINE void | mul_v2_v2fl (float r[2], const float a[2], float f) |
| MINLINE void | mul_v3_fl (float r[3], float f) |
| MINLINE void | mul_v3_v3fl (float r[3], const float a[3], float f) |
| MINLINE void | mul_v2_v2 (float r[2], const float a[2]) |
| MINLINE void | mul_v3_v3 (float r[3], const float a[3]) |
| MINLINE void | mul_v3_v3v3 (float r[3], const float a[3], const float b[3]) |
| MINLINE void | mul_v4_fl (float r[4], float f) |
| MINLINE void | madd_v3_v3fl (float r[3], const float a[3], float f) |
| MINLINE void | madd_v3_v3v3 (float r[3], const float a[3], const float b[3]) |
| MINLINE void | madd_v2_v2v2fl (float r[2], const float a[2], const float b[2], float f) |
| MINLINE void | madd_v3_v3v3fl (float r[3], const float a[3], const float b[3], float f) |
| MINLINE void | madd_v3_v3v3v3 (float r[3], const float a[3], const float b[3], const float c[3]) |
| MINLINE void | madd_v4_v4fl (float r[4], const float a[4], float f) |
| MINLINE void | negate_v3 (float r[3]) |
| MINLINE void | negate_v3_v3 (float r[3], const float a[3]) |
| MINLINE void | negate_v4 (float r[4]) |
| MINLINE void | negate_v4_v4 (float r[4], const float a[3]) |
| MINLINE float | dot_v2v2 (const float a[2], const float b[2]) |
| MINLINE float | dot_v3v3 (const float a[3], const float b[3]) |
| MINLINE float | cross_v2v2 (const float a[2], const float b[2]) |
| MINLINE void | cross_v3_v3v3 (float r[3], const float a[3], const float b[3]) |
| MINLINE void | star_m3_v3 (float R[3][3], float a[3]) |
| MINLINE float | len_v2 (const float a[2]) |
| MINLINE float | len_v2v2 (const float a[2], const float b[2]) |
| MINLINE float | len_squared_v2v2 (const float a[3], const float b[3]) |
| MINLINE float | len_v3 (const float a[3]) |
| MINLINE float | len_v3v3 (const float a[3], const float b[3]) |
| MINLINE float | len_squared_v3v3 (const float a[3], const float b[3]) |
| MINLINE float | normalize_v2 (float r[2]) |
| MINLINE float | normalize_v2_v2 (float r[2], const float a[2]) |
| MINLINE float | normalize_v3 (float r[3]) |
| MINLINE float | normalize_v3_v3 (float r[3], const float a[3]) |
| void | interp_v2_v2v2 (float r[2], const float a[2], const float b[2], const float t) |
| void | interp_v2_v2v2v2 (float r[2], const float a[2], const float b[2], const float c[3], const float t[3]) |
| void | interp_v3_v3v3 (float r[3], const float a[3], const float b[3], const float t) |
| void | interp_v3_v3v3v3 (float p[3], const float v1[3], const float v2[3], const float v3[3], const float w[3]) |
| void | interp_v3_v3v3v3v3 (float p[3], const float v1[3], const float v2[3], const float v3[3], const float v4[3], const float w[4]) |
| void | interp_v4_v4v4 (float r[4], const float a[4], const float b[4], const float t) |
| void | interp_v4_v4v4v4 (float p[4], const float v1[4], const float v2[4], const float v3[4], const float w[3]) |
| void | mid_v3_v3v3 (float r[3], const float a[3], const float b[3]) |
| MINLINE int | is_zero_v3 (const float a[3]) |
| MINLINE int | is_zero_v4 (const float a[4]) |
| MINLINE int | is_one_v3 (const float a[3]) |
| MINLINE int | equals_v2v2 (const float *v1, const float *v2) |
| MINLINE int | equals_v3v3 (const float a[3], const float b[3]) |
| MINLINE int | compare_v3v3 (const float a[3], const float b[3], const float limit) |
| MINLINE int | compare_len_v3v3 (const float a[3], const float b[3], const float limit) |
| MINLINE int | compare_v4v4 (const float a[4], const float b[4], const float limit) |
| MINLINE int | equals_v4v4 (const float a[4], const float b[4]) |
| MINLINE float | line_point_side_v2 (const float l1[2], const float l2[2], const float pt[2]) |
| float | angle_v2v2 (const float a[2], const float b[2]) |
| float | angle_v2v2v2 (const float a[2], const float b[2], const float c[2]) |
| float | angle_normalized_v2v2 (const float a[2], const float b[2]) |
| float | angle_v3v3 (const float a[3], const float b[3]) |
| float | angle_v3v3v3 (const float a[3], const float b[3], const float c[3]) |
| float | angle_normalized_v3v3 (const float v1[3], const float v2[3]) |
| void | angle_tri_v3 (float angles[3], const float v1[3], const float v2[3], const float v3[3]) |
| void | angle_quad_v3 (float angles[4], const float v1[3], const float v2[3], const float v3[3], const float v4[3]) |
| void | project_v2_v2v2 (float c[2], const float v1[2], const float v2[2]) |
| void | project_v3_v3v3 (float r[3], const float p[3], const float n[3]) |
| void | reflect_v3_v3v3 (float r[3], const float v[3], const float n[3]) |
| void | ortho_basis_v3v3_v3 (float r1[3], float r2[3], const float a[3]) |
| void | bisect_v3_v3v3v3 (float r[3], const float a[3], const float b[3], const float c[3]) |
| void | rotate_v3_v3v3fl (float v[3], const float p[3], const float axis[3], const float angle) |
| void | rotate_normalized_v3_v3v3fl (float v[3], const float p[3], const float axis[3], const float angle) |
| void | print_v2 (const char *str, const float a[2]) |
| void | print_v3 (const char *str, const float a[3]) |
| void | print_v4 (const char *str, const float a[4]) |
| MINLINE void | normal_short_to_float_v3 (float r[3], const short n[3]) |
| MINLINE void | normal_float_to_short_v3 (short r[3], const float n[3]) |
| void | minmax_v3v3_v3 (float min[3], float max[3], const float vec[3]) |
| void | range_vni (int *array, const int size, const int start) |
| void | negate_vn (float *array_tar, const int size) |
| void | negate_vn_vn (float *array_tar, const float *array_src, const int size) |
| void | mul_vn_fl (float *array, const int size, const float f) |
| void | mul_vn_vn_fl (float *array_tar, const float *array_src, const int size, const float f) |
| void | add_vn_vn (float *array_tar, const float *array_src, const int size) |
| void | add_vn_vnvn (float *array_tar, const float *array_src_a, const float *array_src_b, const int size) |
| void | sub_vn_vn (float *array_tar, const float *array_src, const int size) |
| void | sub_vn_vnvn (float *array_tar, const float *array_src_a, const float *array_src_b, const int size) |
| void | fill_vni (int *array_tar, const int size, const int val) |
| void | fill_vn (float *array_tar, const int size, const float val) |
Definition in file BLI_math_vector.h.
| MINLINE void add_v2_v2 | ( | float | r[2], |
| const float | a[2] | ||
| ) |
Referenced by createSlideVerts(), grab_clone_apply(), paint_space_stroke(), uvedit_center(), and uvedit_translate().
| MINLINE void add_v2_v2v2 | ( | float | r[2], |
| const float | a[2], | ||
| const float | b[2] | ||
| ) |
Referenced by boid_brain(), mdisp_flip_disp(), p_chart_stretch_minimize(), and uv_image_outset().
| MINLINE void add_v3_fl | ( | float | r[3], |
| float | f | ||
| ) |
Definition at line 105 of file math_vector_inline.c.
| MINLINE void add_v3_v3 | ( | float | r[3], |
| const float | a[3] | ||
| ) |
Referenced by _scan_for_ext_spring_forces(), _softbody_calc_forces_slice_in_a_thread(), add_norm_if(), add_normal_aligned(), addnormalsDispList(), alter_co(), apply_tangmat_callback(), applyModifier(), applyProject(), armature_deform_verts(), arrayModifier_doArray(), BLI_mirrorAlongAxis(), boid_body(), boid_brain(), boid_find_ground(), bone_connect_to_new_parent(), bone_matrix_translate_y(), brush_puff(), calc_area_normal(), calc_area_normal_and_flatten_center(), calc_flatten_center(), calc_tw_center(), calculateCenterMedian(), cdDM_foreachMappedFaceCenter(), closest_point_on_surface(), cloth_calc_helper_forces(), cloth_collision(), collision_response(), contarget_get_lattice_mat(), contarget_get_mesh_mat(), createFacepa(), createSlideVerts(), cuboid_do(), curve_center_median(), curve_translate(), cutEdges(), dl_surf_to_renderdata(), dm_calc_normal(), do_clay_brush(), do_clay_tubes_brush(), do_fill_brush(), do_flatten_brush(), do_grab_brush(), do_kink(), do_layer_brush(), do_mesh_smooth_brush(), do_multires_smooth_brush(), do_path_effectors(), do_physical_effector(), do_scrape_brush(), do_snake_hook_brush(), do_strip_modifiers(), do_texture_effector(), docenter_armature(), draw_particle(), draw_rotation_guide(), draw_xyz_wire(), drawConstraint(), drawnurb(), drawRBpivot(), DS_energy(), ED_uvedit_median(), editmesh_get_derived(), ElementResize(), ElementRotation(), EM_make_hq_normals(), em_snap_to_center(), emDM__calcFaceCent(), envmaptex(), explodeMesh(), face_duplilist(), filterSmartReebGraph(), fix_connected_bone(), flyApply(), flyEnd(), get_effector_data(), get_matrix_editbone(), getSnapPoint(), getTransformOrientation(), give_parvert(), heat_calc_vnormals(), init_render_curve(), integrate_particle(), interp_barycentric_tri_data(), interp_bilinear_quad_data(), isect_sweeping_sphere_tri_v3(), make_selection_list_nurb(), make_trans_verts(), markdownSecondarySymmetry(), mesh_center_median(), mesh_noise_exec(), mesh_translate(), meshdeformModifier_do(), minmax_object(), minmax_verts(), multiresModifier_base_apply(), multiresModifier_disp_run(), neighbor_average(), nextLengthSubdivision(), ob_draw_RE_motion(), ob_parbone(), ob_parvert3(), object_handle_update(), object_origin_set_exec(), occ_compute_bounces(), offset_child(), offset_to_key(), p_face_stretch(), pe_deflect_emitter(), pe_iterate_lengths(), peelDerivedMesh(), project_paint_begin(), psys_thread_create_path(), REEB_AxialSymmetry(), repositionNodes(), return_editcurve_indexar(), return_editlattice_indexar(), return_editmesh_indexar(), return_editmesh_vgroup(), rotateflagNurb(), rule_average_speed(), rule_flock(), rule_goal_avoid(), rule_separate(), scale_quad(), scale_tri(), sculpt_combine_proxies(), sculpt_stroke_get_location(), sculpt_update_brush_delta(), setNearestAxis3d(), Shear(), sk_drawStroke(), sk_flattenStroke(), sk_getSelfIntersections(), sk_interpolateDepth(), sk_straightenStroke(), smooth_vertex(), smoothModifier_do(), snap_curs_to_sel(), snap_sel_to_grid(), softbody_calc_forces(), sort_faces_exec(), special_transvert_update(), sphere_do(), static_particle_strand(), subsurf_calculate_limit_positions(), sum_or_add_vertex_tangent(), TargetSnapMedian(), testAxialSymmetry(), trace_reflect(), trace_refract(), translateflagNurb(), v3d_editvertex_buts(), vcloud_estimate_transform(), vertex_dupli__mapFunc(), viewmove_apply(), viewpan_exec(), viewrotate_apply(), vol_get_scattering(), vol_get_transmittance(), volumeintegrate(), voxeldatatex(), where_is_pose_bone(), and where_on_path_deform().
| MINLINE void add_v3_v3v3 | ( | float | r[3], |
| const float | a[3], | ||
| const float | b[3] | ||
| ) |
Referenced by _softbody_calc_forces_slice_in_a_thread(), add_primitive_bone(), addvert_Nurb(), applyTranslation(), armature_bone_primitive_add_exec(), armature_deform_verts(), axisProjection(), bisect_v3_v3v3v3(), boid_climb(), boid_find_ground(), bone_align_to_bone(), calc_curve_deform(), CalcSnapGeometry(), calculateCenterBound(), collision_response(), createFacepa(), createSlideVerts(), createTransEdge(), curvemap_make_table(), dl_surf_to_renderdata(), dm_calc_normal(), do_crease_brush(), do_displacement(), do_kink(), do_multires_smooth_brush(), do_strip_modifiers(), do_version_bone_head_tail_237(), draw_new_particle_system(), draw_particle(), draw_rotation_guide(), draw_xyz_wire(), drawLine(), ED_view3d_win_to_3d(), ElementResize(), ElementRotation(), EM_editselection_center(), EM_editselection_normal(), EM_editselection_plane(), EM_make_hq_normals(), EM_mesh_copy_edge(), get_effector_data(), ImageRender::ImageRender(), InputVector(), integrate_particle(), isect_line_line_strict_v3(), isect_line_line_v3(), isect_line_plane_v3(), M_Geometry_intersect_ray_tri(), meshdeform_intersect(), multiresModifier_disp_run(), ob_parvert3(), object_scale_to_mat3(), object_to_mat4(), old_mdisps_bilinear(), paint_brush_stroke_add_step(), PE_apply_lengths(), pivotcon_evaluate(), planeProjection(), project_brush_radius(), PushPull(), REEB_exportGraph(), REEB_RadialSymmetry(), repositionControl(), rule_avoid_collision(), sculpt_flush_pbvhvert_deform(), Shear(), ShrinkFatten(), sk_getStrokeSnapPoint(), snapEdge(), softbody_calc_forces(), sort_faces_exec(), special_transvert_update(), strand_eval_point(), subsurf_calculate_limit_positions(), testRadialSymmetry(), testshadowbuf(), ToSphere(), trace_reflect(), trace_refract(), transform_evaluate(), view_zoom_mouseloc(), viewselected_exec(), Warp(), where_is_ik_bone(), where_is_pose_bone(), and where_is_pose_bone_tail().
| MINLINE void add_v4_fl | ( | float | r[4], |
| float | f | ||
| ) |
Definition at line 112 of file math_vector_inline.c.
Referenced by IMB_partial_rect_from_float().
| void add_vn_vn | ( | float * | array_tar, |
| const float * | array_src, | ||
| const int | size | ||
| ) |
Definition at line 413 of file math_vector.c.
Referenced by Color_iadd(), screen_opengl_render_apply(), and Vector_iadd().
| void add_vn_vnvn | ( | float * | array_tar, |
| const float * | array_src_a, | ||
| const float * | array_src_b, | ||
| const int | size | ||
| ) |
Definition at line 421 of file math_vector.c.
Referenced by Color_add(), Matrix_add(), and Vector_add().
| float angle_normalized_v2v2 | ( | const float | a[2], |
| const float | b[2] | ||
| ) |
Definition at line 183 of file math_vector.c.
References dot_v2v2(), len_v2v2(), M_PI, and saasin().
Referenced by angle_v2v2(), angle_v2v2v2(), draw_uvs_stretch(), and uv_image_outset().
| float angle_normalized_v3v3 | ( | const float | v1[3], |
| const float | v2[3] | ||
| ) |
Definition at line 167 of file math_vector.c.
References dot_v3v3(), len_v3v3(), M_PI, and saasin().
Referenced by angle_quad_v3(), angle_tri_v3(), angle_v3v3(), angle_v3v3v3(), applyModifier(), bevel_list_smooth(), dm_calc_normal(), draw_uvs_stretch(), EM_make_hq_normals(), EM_solidify(), make_bevel_list_3D_minimum_twist(), project_paint_begin(), project_paint_uvpixel_mask(), RIG_calculateEdgeAngles(), rollBoneByQuatAligned(), rotation_between_vecs_to_quat(), sk_drawEdge(), sk_drawNormal(), and vec_roll_to_mat3().
| void angle_quad_v3 | ( | float | angles[4], |
| const float | v1[3], | ||
| const float | v2[3], | ||
| const float | v3[3], | ||
| const float | v4[3] | ||
| ) |
Definition at line 216 of file math_vector.c.
References angle_normalized_v3v3(), M_PI, normalize_v3(), and sub_v3_v3v3().
Referenced by applyModifier(), and EM_solidify().
| void angle_tri_v3 | ( | float | angles[3], |
| const float | v1[3], | ||
| const float | v2[3], | ||
| const float | v3[3] | ||
| ) |
Definition at line 198 of file math_vector.c.
References angle_normalized_v3v3(), M_PI, normalize_v3(), and sub_v3_v3v3().
Referenced by applyModifier(), and EM_solidify().
| float angle_v2v2 | ( | const float | a[2], |
| const float | b[2] | ||
| ) |
Definition at line 151 of file math_vector.c.
References angle_normalized_v2v2(), and normalize_v2().
Referenced by bevel_list_flip_tangents(), measure_facepair(), similar_edge_select__internal(), similar_face_select__internal(), similar_vert_select_exec(), sk_detectDeleteGesture(), sk_detectReverseGesture(), and sk_detectTrimGesture().
| float angle_v2v2v2 | ( | const float | a[2], |
| const float | b[2], | ||
| const float | c[2] | ||
| ) |
Definition at line 134 of file math_vector.c.
References angle_normalized_v2v2(), and normalize_v2().
Referenced by draw_uvs_stretch().
| float angle_v3v3 | ( | const float | a[3], |
| const float | b[3] | ||
| ) |
Definition at line 124 of file math_vector.c.
References angle_normalized_v3v3(), and normalize_v3_v3().
Referenced by applyModifier(), axisProjection(), ED_rollBoneToVector(), smooth_view(), test_manipulator_axis(), and viewrotate_apply().
| float angle_v3v3v3 | ( | const float | a[3], |
| const float | b[3], | ||
| const float | c[3] | ||
| ) |
Definition at line 111 of file math_vector.c.
References angle_normalized_v3v3(), normalize_v3(), and sub_v3_v3v3().
Referenced by draw_em_measure_stats(), draw_uvs_stretch(), and laplacian_triangle_area().
| void bisect_v3_v3v3v3 | ( | float | r[3], |
| const float | a[3], | ||
| const float | b[3], | ||
| const float | c[3] | ||
| ) |
Definition at line 260 of file math_vector.c.
References add_v3_v3v3(), normalize_v3(), and sub_v3_v3v3().
Referenced by bevel_list_calc_bisect(), make_bevel_list_3D_zup(), and makeBevelList().
| MINLINE int compare_len_v3v3 | ( | const float | a[3], |
| const float | b[3], | ||
| const float | limit | ||
| ) |
Referenced by apply_boid_rule(), and arrayModifier_doArray().
| MINLINE int compare_v3v3 | ( | const float | a[3], |
| const float | b[3], | ||
| const float | limit | ||
| ) |
| MINLINE int compare_v4v4 | ( | const float | a[4], |
| const float | b[4], | ||
| const float | limit | ||
| ) |
| MINLINE void copy_v2_v2 | ( | float | r[2], |
| const float | a[2] | ||
| ) |
Definition at line 61 of file math_vector_inline.c.
Referenced by applySeqSlide(), boid_body(), do_rough_end(), gp_draw_stroke(), GPU_buffer_copy_uv(), GPU_buffer_copy_uvedge(), grab_clone_invoke(), grab_clone_modal(), imagewraposa_aniso(), isect_point_face_uv_v2(), isect_seg_seg_v2_point(), mdisp_flip_disp(), p_chart_stretch_minimize(), paint_space_stroke(), project_paint_face_init(), project_paint_op(), remap_uvs_15(), remap_uvs_19_21_22(), remap_uvs_23(), remap_uvs_3_6_9_12(), remap_uvs_5_10(), remap_uvs_7_11_13_14(), sculpt_update_cache_invariants(), sculpt_update_cache_variants(), uvedit_vertex_buttons(), and view3d_boxview_clip().
| MINLINE void copy_v3_v3 | ( | float | r[3], |
| const float | a[3] | ||
| ) |
Definition at line 67 of file math_vector_inline.c.
Referenced by actcon_get_tarmat(), add_hook_object(), add_in_range(), add_metaball_primitive(), add_nearest(), TransformWriter::add_node_transform_ob(), add_points_bone(), add_primitive_bone(), add_tface_color_layer(), add_vertex_invoke(), add_verts_to_dgroups(), add_vgroups__mapFunc(), addvert_Nurb(), ambient_occlusion_apply(), apply_armature_pose2bones_exec(), apply_objects_internal(), applyModifier(), armature_bone_primitive_add_exec(), armature_calc_roll_exec(), armature_click_extrude_exec(), armature_click_extrude_invoke(), armature_extrude_exec(), armature_fill_bones_exec(), armature_mat_pose_to_bone(), armature_subdivide_exec(), arrayModifier_doArray(), AtmospherePixleShader(), axis_angle_to_gimbal_axis(), axisProjection(), bake_shade(), barycentric_transform(), basic_integrate(), blend_from_shape_exec(), BlenderWorldInfo::BlenderWorldInfo(), BLI_kdtree_find_nearest(), BLI_kdtree_insert(), BLI_pbvh_apply_vertCos(), BLI_pbvh_get_vertCos(), BLI_pbvh_node_get_BB(), BLI_pbvh_node_get_original_BB(), BLI_pbvh_raycast(), BLI_pbvh_redraw_BB(), boid_body(), boid_find_ground(), bone_connect_to_existing_parent(), bone_connect_to_new_parent(), bones_merge(), box_minmax_bounds_m4(), brush_imbuf_new(), brush_puff(), C_Matrix_Translation(), cache_key_incremental_rotation(), calc_area_normal(), calc_area_normal_and_flatten_center(), calc_curve_deform(), calc_latt_deform(), calc_ocval_face(), calc_sculpt_normal(), calc_sculpt_plane(), ccgDM_copyFinalVertArray(), ccgDM_getFinalVert(), ccgdm_getVertCos(), childof_evaluate(), clampto_evaluate(), clip_line_plane(), clipMirrorModifier(), closest_to_line_segment_v3(), cloth_calc_helper_forces(), cloth_from_object(), collision_check(), collision_fail(), collision_newton_rhapson(), collision_point_velocity(), collision_response(), column_vectors_to_mat3(), compatible_bump_compute(), connect_hair(), constraint_mat_convertspace(), constraint_target_to_mat4(), contarget_get_lattice_mat(), contarget_get_mesh_mat(), convert_tree(), copy_object_transform(), copyData(), cuboid_do(), curve_deform_vector(), curve_deform_verts(), damptrack_evaluate(), TransformBase::decompose(), deformVerts(), distlimit_evaluate(), distribute_grid(), do_clay_tubes_brush(), do_grab_brush(), do_inflate_brush(), do_kink(), do_nudge_brush(), do_physical_effector(), do_snake_hook_brush(), do_thumb_brush(), do_version_bone_head_tail_237(), do_view3d_region_buttons(), docenter_armature(), doMirrorOnAxis(), draw_em_measure_stats(), draw_forcefield(), draw_image_info(), draw_new_particle_system(), draw_nodespace_color_info(), draw_object(), draw_particle(), draw_ptcache_edit(), draw_tface__set_draw_legacy(), draw_xyz_wire(), drawcone(), drawlamp(), drawLine(), drawRBpivot(), drawspiral(), drawtexspace(), drawtube(), dupli_extrude_cursor(), ED_armature_from_edit(), ED_object_base_init_transform(), ED_object_location_from_view(), ED_object_new_primitive_matrix(), ED_view3d_boundbox_clip(), ED_view3d_draw_offscreen(), ED_view3d_global_to_vector(), ED_view3d_project_float(), ED_view3d_win_to_3d(), ED_view3d_win_to_segment_clip(), ED_view3d_win_to_vector(), EM_editselection_center(), EM_editselection_normal(), EM_editselection_plane(), emDM_copyVertArray(), emDM_getVertCos(), eulO_to_gimbal_axis(), AnimationImporter::evaluate_animation(), extrudeflag_edge(), extrudeflag_vert(), ff_visible_quad(), fill_add_joint(), fluid_get_bb(), fluid_init_all_channels(), fluidsimBake(), flyApply(), flyEnd(), followpath_get_tarmat(), get_cpa_texture(), get_effector_data(), get_fluid_gravity(), get_mesh_orco_verts(), get_texture_coords(), GetSkyXYZRadiancef(), global_bounds_obi(), gp_get_3d_reference(), gp_stroke_to_bezier(), gp_stroke_to_path(), gp_strokepoint_convertcoords(), GPU_buffer_copy_normal(), GPU_buffer_copy_vertex(), gpu_material_to_fixed(), GPU_scene_object_lights(), GPU_update_mesh_buffers(), harmonic_coordinates_bind(), heat_ray_source_visible(), heat_source_distance(), image_buffer_rect_update(), ImageRender::ImageRender(), IMB_partial_rect_from_float(), implicit_solver(), init_render_curve(), initFlyInfo(), initRotation(), initTransform(), initWarp(), integrate_particle(), interp_barycentric_tri_data(), interp_bilinear_grid(), interp_bilinear_quad_data(), InterpCSGFace(), isec_tri_quad(), isec_tri_quad_neighbour(), isect_line_line_v3(), isect_sweeping_sphere_tri_v3(), key_to_vertcos(), kinematic_get_tarmat(), lattice_applyVertexCos(), lattice_getVertexCos(), lib_link_screen_restore(), loclike_evaluate(), make_boneList(), make_snap(), make_trans_verts(), mat3_to_compatible_eul(), mat3_to_compatible_eulO(), mat3_to_eul(), mat3_to_eul2(), mat3_to_eulO(), mat3_to_eulo2(), mat3_to_vec_roll(), mat4_to_dquat(), mat4_to_loc_rot_size(), matrix_as_3x3(), Matrix_to_euler(), mesh_deform_bind(), mesh_to_curve(), meshdeform_dynamic_bind(), meshdeform_inside_cage(), meshdeform_intersect(), meshdeform_matrix_solve(), meshdeform_ray_tree_intersect(), meshdeformModifier_do(), minmax_evaluate(), minmax_object(), mul_m3_v3(), multires_copy_dm_grid(), multires_copy_grid(), multires_load_old_dm(), multires_mvert_to_ss(), multiresbake_get_normal(), multiresModifier_base_apply(), multitex_nodes(), ndof_orbit_invoke(), neighbor_average(), new_particle_duplilist(), newColorObject(), newEulerObject(), ob_parbone(), ob_parcurve(), object_clear_rot(), object_hook_assign_exec(), object_make_proxy(), object_origin_set_exec(), object_shape_key_mirror(), object_tfm_backup(), object_tfm_restore(), obmat_to_viewmat(), occ_lookup(), occ_sum_occlusion(), octree_fill_rayface(), offset_child(), p_face_stretch(), paint_brush_stroke_add_step(), pbvh_update_normals(), pchan_clear_rot(), pivotcon_evaluate(), precache_init_parts(), precalculate_effector(), project_float(), project_float_noclip(), project_from_camera(), project_from_view(), project_int(), project_int_noclip(), project_paint_begin(), project_paint_begin_clone(), project_short(), project_short_noclip(), psys_cache_edit_paths(), psys_get_birth_coordinates(), psys_get_particle_on_path(), psys_get_texture(), psys_particle_on_emitter(), psys_thread_create_path(), Quaternion_mul(), ray_ao_qmc(), ray_ao_spheresamp(), rayface_from_coords(), RE_rayobject_blibvh_intersect(), RE_rayobject_instance_intersect(), RE_rayobject_octree_intersect(), recalc_editnormals(), reflect_v3_v3v3(), resizelattice(), restore_localviewdata(), Rotation(), rotlike_evaluate(), rotlimit_evaluate(), rtbuild_add(), rtbuild_heuristic_object_split(), rule_avoid_collision(), AnimationExporter::sample_animation(), sample_line_exec(), sample_occ_tree(), save_hair(), scopes_update(), sculpt_brush_test_init(), sculpt_combine_proxies(), sculpt_flush_pbvhvert_deform(), sculpt_flush_stroke_deform(), sculpt_restore_deformed(), sculpt_restore_mesh(), sculpt_stroke_get_location(), sculpt_undo_push_node(), sculpt_update_brush_delta(), sculpt_update_cache_invariants(), sculpt_update_cache_variants(), set_3dcursor_invoke(), setBoneRollFromNormal(), setviewmatrixview3d(), shade_intersection(), shade_volume_shadow(), shadowbuf_project_co(), shrinkwrap_evaluate(), shrinkwrap_get_tarmat(), sk_drawStroke(), smooth_view(), snap_sel_to_curs(), snapDerivedMesh(), sph_force_cb(), sphere_do(), spin_invoke(), spotvolume(), stretchto_evaluate(), sum_or_add_vertex_tangent(), test_clipping(), tex_space_mesh(), transform_armature_mirror_update(), transform_evaluate(), AnimationImporter::translate_animation(), TransMat3ToSize(), ui_draw_but_HSVCIRCLE(), ui_numedit_but_HSVCIRCLE(), ui_numedit_but_HSVCUBE(), ui_update_block_buts_rgb(), uiBlockPicker(), uvprojectModifier_do(), v3d_posearmature_buts(), vcloud_estimate_transform(), vec_apply_track(), vectomat(), Vector_mul(), vertcos_to_key(), view3d_align_axis_to_vector(), view3d_boxview_copy(), view3d_cached_text_draw_add(), view3d_main_area_draw(), view3d_project_short_clip(), view3d_project_short_noclip(), view3d_smoothview_invoke(), view3d_zoom_border_exec(), view_zoom_mouseloc(), viewdolly_exec(), viewops_data_create(), vieworbit_exec(), viewrotate_apply(), vol_get_shadow(), vol_precache_part(), vol_shade_one_lamp(), volume_trace(), voxeldatatex(), warpModifier_do(), wavemod_get_texture_coords(), and where_is_pose_bone().
| MINLINE void copy_v4_v4 | ( | float | r[4], |
| const float | a[4] | ||
| ) |
Definition at line 74 of file math_vector_inline.c.
Referenced by draw_image_info(), draw_nodespace_color_info(), ED_preview_shader_job(), IMB_partial_rect_from_float(), KX_FontObject::KX_FontObject(), node_shader_exec_material(), and preview_prepare_scene().
| MINLINE float cross_v2v2 | ( | const float | a[2], |
| const float | b[2] | ||
| ) |
Definition at line 331 of file math_vector_inline.c.
Referenced by mdisp_pt_in_crn().
| MINLINE void cross_v3_v3v3 | ( | float | r[3], |
| const float | a[3], | ||
| const float | b[3] | ||
| ) |
Definition at line 336 of file math_vector_inline.c.
Referenced by applyModifier(), applyTranslation(), area_quad_v3(), area_tri_v3(), axis_angle_to_gimbal_axis(), axisProjection(), bake_shade(), basic_rotate(), bevel_list_smooth(), BME_bevel_get_angle(), BME_bevel_poly(), BME_bevel_project_vec(), BME_bevel_split_edge(), boid_body(), brush_puff(), cache_key_incremental_rotation(), collision_point_on_surface(), collision_response(), compatible_bump_compute(), contarget_get_mesh_mat(), convex(), costDistance(), cotan_weight(), createSpaceNormal(), createSpaceNormalTangent(), damptrack_evaluate(), do_clay_tubes_brush(), do_guides(), do_material_tex(), do_nudge_brush(), do_physical_effector(), do_thumb_brush(), draw_rotation_guide(), draw_sphere_bone_dist(), draw_sphere_bone_wire(), dupli_extrude_cursor(), ED_rollBoneToVector(), EM_editselection_normal(), EM_editselection_plane(), ff_quad_form_factor(), fill_scs_points(), flush_pixel(), get_strand_normal(), getTransformOrientation(), ImageRender::ImageRender(), interp_weights_face_v3(), is_negative_m3(), is_negative_m4(), isec_tri_quad(), isec_tri_quad_neighbour(), isect_line_line_strict_v3(), isect_line_line_v3(), isect_line_tri_v3(), isect_ray_plane_v3(), isect_ray_tri_epsilon_v3(), isect_ray_tri_threshold_v3(), isect_ray_tri_v3(), isect_sweeping_sphere_tri_v3(), locktrack_evaluate(), M_Geometry_intersect_ray_tri(), make_bevel_list_3D_minimum_twist(), make_bevel_list_3D_tangent(), mean_value_half_tan(), meshdeform_tri_intersect(), nr_distance_to_edge(), nr_signed_distance_to_plane(), ntap_bump_compute(), occ_quad_form_factor(), orthogonalize_m3(), orthogonalize_m4(), project_brush_radius(), psys_get_birth_coordinates(), psys_get_dupli_path_transform(), psys_make_billboard(), REEB_RadialSymmetry(), RIG_calculateEdgeAngles(), RIG_parentControl(), rollBoneByQuatAligned(), rollBoneByQuatJoint(), rotate(), rotation_between_vecs_to_quat(), RotationBetween(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), shade_input_set_strand(), shade_one_light(), sk_drawEdge(), sk_drawNormal(), splineik_evaluate_bone(), spotvolume(), static_particle_strand(), strand_eval_point(), stretchto_evaluate(), tangent_from_uv(), testAxialSymmetry(), testRadialSymmetry(), trace_reflect(), triatomat(), vec_roll_to_mat3(), vectomat(), Vector_cross(), view3d_align_axis_to_vector(), and viewrotate_apply().
| MINLINE float dot_v2v2 | ( | const float | a[2], |
| const float | b[2] | ||
| ) |
Definition at line 321 of file math_vector_inline.c.
Referenced by angle_normalized_v2v2(), boid_body(), boid_brain(), closest_to_line_v2(), isect_line_sphere_v2(), isect_seg_seg_v2_point(), len_squared_v2v2(), line_point_factor_v2(), mdisp_flip_disp(), normalize_v2_v2(), project_v2_v2v2(), rule_average_speed(), and texpaint_break_stroke().
| MINLINE float dot_v3v3 | ( | const float | a[3], |
| const float | b[3] | ||
| ) |
Definition at line 326 of file math_vector_inline.c.
Referenced by _scan_for_ext_spring_forces(), accumulate_vertex_normals(), add_norm_if(), angle_normalized_v3v3(), apply_heights_callback(), applyAxisConstraintRot(), applyObjectConstraintRot(), applyTranslation(), arrayModifier_doArray(), AtmospherePixleShader(), axisProjection(), basic_rotate(), BLI_pbvh_node_planes_contain_AABB(), BME_bevel_get_angle(), BME_bevel_poly(), BME_bevel_project_vec(), BME_bevel_set_max(), boid_body(), boid_goal_signed_dist(), bvh_callback(), cache_key_incremental_rotation(), calcArcCorrelation(), CalcSnapGeometry(), choose_winner(), clip_line_plane(), closest_to_line_v3(), collision_point_distance_with_normal(), collision_point_on_surface(), collision_response(), collision_sphere_to_edges(), collision_sphere_to_tri(), costAngle(), costDistance(), cotan_weight(), createSpaceNormal(), damptrack_evaluate(), do_guides(), do_kink(), do_material_tex(), do_texture_effector(), draw_rotation_guide(), ED_rollBoneToVector(), effector_falloff(), ff_normalize(), ff_quad_form_factor(), ff_visible_quad(), filterSmartReebGraph(), flagAxialSymmetry(), frontface(), ImageRender::ImageRender(), InputHorizontalAbsolute(), InputVerticalAbsolute(), is_negative_m3(), is_negative_m4(), is_orthogonal_m3(), is_orthogonal_m4(), isec_tri_quad(), isec_tri_quad_neighbour(), isect_line_line_strict_v3(), isect_line_line_v3(), isect_line_plane_v3(), isect_line_sphere_v3(), isect_line_tri_v3(), isect_ray_plane_v3(), isect_ray_tri_epsilon_v3(), isect_ray_tri_threshold_v3(), isect_ray_tri_v3(), isect_sweeping_sphere_tri_v3(), len_squared_v3v3(), len_v3(), line_point_factor_v3(), M_Geometry_intersect_ray_tri(), mean_value_half_tan(), nextLengthSubdivision(), normal_projection_project_vertex(), normalize_v3_v3(), nr_signed_distance_to_plane(), ntap_bump_compute(), orthogonalize_m3(), orthogonalize_m4(), p_face_stretch(), particle_billboard(), pe_deflect_emitter(), plane_point_side(), plane_point_side_flip(), plane_trim(), planeProjection(), point_in_slice(), point_plane_project(), project_v3_v3v3(), psys_get_birth_coordinates(), psys_get_dupli_path_transform(), psys_make_billboard(), psys_thread_create_path(), reflect_v3_v3v3(), RIG_parentControl(), rollBoneByQuatAligned(), rotate(), RotationBetween(), rule_avoid_collision(), rule_fight(), rule_follow_leader(), sb_detect_edge_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), sb_spring_force(), sculpt_search_sphere_cb(), shade_input_set_normals(), similar_face_select__internal(), sk_applyTrimGesture(), sk_distanceDepth(), snapEdge(), snapVertex(), sph_force_cb(), splineik_evaluate_bone(), static_particle_strand(), tag_and_count_extra_edges(), testRadialSymmetry(), uvprojectModifier_do(), v3_dist_from_plane(), validSnappingNormal(), vec_roll_to_mat3(), view3d_align_axis_to_vector(), viewAxisCorrectCenter(), and vol_get_phasefunc().
| MINLINE int equals_v2v2 | ( | const float * | v1, |
| const float * | v2 | ||
| ) |
Definition at line 473 of file math_vector_inline.c.
Referenced by isect_seg_seg_v2_point().
| MINLINE int equals_v3v3 | ( | const float | a[3], |
| const float | b[3] | ||
| ) |
Referenced by draw_motion_path_instance(), fill_add_joint(), fix_connected_bone(), interp_weights_face_v3(), and smooth_view().
| MINLINE int equals_v4v4 | ( | const float | a[4], |
| const float | b[4] | ||
| ) |
Referenced by smooth_view().
| void fill_vn | ( | float * | array_tar, |
| const int | size, | ||
| const float | val | ||
| ) |
Definition at line 454 of file math_vector.c.
Referenced by Matrix_zero(), newVectorObject(), Vector_setLength(), and Vector_zero().
| void fill_vni | ( | int * | array_tar, |
| const int | size, | ||
| const int | val | ||
| ) |
Definition at line 447 of file math_vector.c.
| void interp_v2_v2v2 | ( | float | r[2], |
| const float | a[2], | ||
| const float | b[2], | ||
| const float | t | ||
| ) |
Definition at line 38 of file math_vector.c.
Referenced by doEdgeSlide(), isect_seg_seg_v2_point(), mdisp_rot_crn_to_face(), and project_paint_face_init().
| void interp_v2_v2v2v2 | ( | float | r[2], |
| const float | a[2], | ||
| const float | b[2], | ||
| const float | c[3], | ||
| const float | t[3] | ||
| ) |
| void interp_v3_v3v3 | ( | float | r[3], |
| const float | a[3], | ||
| const float | b[3], | ||
| const float | t | ||
| ) |
Definition at line 54 of file math_vector.c.
Referenced by addVertToBucket(), ambient_occlusion_apply(), blend_from_shape_exec(), blend_m3_m3m3(), blend_m4_m4m4(), boid_find_ground(), calc_curvepath(), calc_latt_deform(), collision_newton_rhapson(), collision_response(), constraint_target_to_mat4(), createArc(), curve_deform_verts(), deformVerts(), distlimit_evaluate(), do_clump(), do_guides(), do_kink(), doEdgeSlide(), draw_em_measure_stats(), draw_mesh_fancy(), drawlamp(), exec_strandsurface_sample(), filterNullReebGraph(), flyApply(), get_strand_normal(), gp_stroke_to_bezier(), interpolateBuckets(), mergeBuckets(), node_shader_exec_curve_rgb(), occ_face(), postprocessGraph(), project_paint_face_init(), psys_cache_edit_paths(), psys_get_particle_state(), REEB_AxialSymmetry(), REEB_RadialSymmetry(), shade_one_light(), shrinkwrap_calc_nearest_surface_point(), shrinkwrap_calc_nearest_vertex(), shrinkwrap_calc_normal_projection(), shrinkwrap_get_tarmat(), SimpleDeformModifier_do(), snapEdge(), splineik_evaluate_bone(), subdividenurb(), update_reports_display_invoke(), and warpModifier_do().
| void interp_v3_v3v3v3 | ( | float | p[3], |
| const float | v1[3], | ||
| const float | v2[3], | ||
| const float | v3[3], | ||
| const float | w[3] | ||
| ) |
Definition at line 75 of file math_vector.c.
Referenced by barycentric_transform(), project_paint_face_init(), project_paint_occlude_ptv_clip(), psys_interpolate_face(), screen_px_from_ortho(), and screen_px_from_persp().
| void interp_v3_v3v3v3v3 | ( | float | p[3], |
| const float | v1[3], | ||
| const float | v2[3], | ||
| const float | v3[3], | ||
| const float | v4[3], | ||
| const float | w[4] | ||
| ) |
Definition at line 84 of file math_vector.c.
Referenced by psys_interpolate_face(), psys_interpolate_particle(), psys_thread_create_path(), and where_on_path().
| void interp_v4_v4v4 | ( | float | r[4], |
| const float | a[4], | ||
| const float | b[4], | ||
| const float | t | ||
| ) |
Definition at line 63 of file math_vector.c.
Referenced by psys_thread_create_path(), and subdividenurb().
| void interp_v4_v4v4v4 | ( | float | p[4], |
| const float | v1[4], | ||
| const float | v2[4], | ||
| const float | v3[4], | ||
| const float | w[3] | ||
| ) |
Definition at line 91 of file math_vector.c.
| MINLINE int is_one_v3 | ( | const float | a[3] | ) |
| MINLINE int is_zero_v3 | ( | const float | a[3] | ) |
Definition at line 458 of file math_vector_inline.c.
Referenced by calc_area_normal(), calc_area_normal_and_flatten_center(), calc_vertexnormals(), costAngle(), do_versions(), ED_rollBoneToVector(), extrudeflag_edge(), extrudeflag_edges_indiv(), extrudeflag_vert(), flyApply_ndof(), group_duplilist(), ndof_orbit_invoke(), new_particle_duplilist(), object_origin_set_exec(), repositionBone(), setBoneRollFromNormal(), sk_drawEdge(), and sk_drawNormal().
| MINLINE int is_zero_v4 | ( | const float | a[4] | ) |
Definition at line 463 of file math_vector_inline.c.
Referenced by do_versions().
| MINLINE float len_squared_v2v2 | ( | const float | a[3], |
| const float | b[3] | ||
| ) |
Definition at line 375 of file math_vector_inline.c.
References simple_enum_gen::d, dot_v2v2(), and sub_v2_v2v2().
Referenced by createSlideVerts(), freetypechar_to_vchar(), and weight_sample_invoke().
| MINLINE float len_squared_v3v3 | ( | const float | a[3], |
| const float | b[3] | ||
| ) |
Definition at line 391 of file math_vector_inline.c.
References simple_enum_gen::d, dot_v3v3(), and sub_v3_v3v3().
Referenced by calc_overlap(), hook_falloff(), mesh_edges_nearest_point(), sculpt_brush_test(), sculpt_brush_test_fast(), and sculpt_brush_test_sq().
| MINLINE float len_v2 | ( | const float | a[2] | ) |
Definition at line 356 of file math_vector_inline.c.
References sqrtf.
Referenced by boid_brain(), brush_jitter_pos(), draw_sphere_bone_dist(), gp_draw_stroke(), imagewraposa_aniso(), isect_point_quad_uv_v2(), mdisp_flip_disp(), ntap_bump_compute(), paint_space_stroke(), project_from_camera(), and ui_numedit_but_CURVE().
| MINLINE float len_v2v2 | ( | const float | a[2], |
| const float | b[2] | ||
| ) |
Definition at line 361 of file math_vector_inline.c.
References sqrtf.
Referenced by angle_normalized_v2v2(), isect_seg_seg_v2_point(), p_chart_minimum_area_angle(), p_rectangle_area(), project_brush_radius(), project_paint_face_init(), texpaint_break_stroke(), and ui_mouse_motion_towards_check().
| MINLINE float len_v3 | ( | const float | a[3] | ) |
Definition at line 370 of file math_vector_inline.c.
References dot_v3v3(), and sqrtf.
Referenced by accum_density(), apply_boid_rule(), applyModifier(), armature_fill_bones_exec(), b_bone_spline_setup(), basic_force_cb(), basic_rotate(), BME_bevel_get_vec(), BME_bevel_poly(), BME_bevel_set_max(), BME_bevel_split_edge(), BME_split_edge(), boid_body(), boid_find_ground(), bone_align_to_bone(), brush_puff(), calc_curvepath(), calcArcCorrelation(), collision_detect(), connectivity_edge(), convert_pose(), convert_tree(), cotan_weight(), curvemap_make_table(), distribute_simple_children(), do_grab_brush(), do_guides(), do_path_effectors(), do_snake_hook_brush(), do_versions(), draw_ebones(), draw_manipulator_rotate(), draw_new_particle_system(), draw_particle(), draw_pose_bones(), drawcamera(), effector_falloff(), execute_posetree(), finalizeControl(), get_effector_data(), headerTranslation(), len_v3v3(), mat3_to_scale(), mat3_to_size(), mat4_to_dquat(), mat4_to_size(), mean_value_half_tan(), nr_distance_to_edge(), ntap_bump_compute(), paint_calc_object_space_radius(), particle_normal_ren(), pointdensitytex(), precalc_guides(), psys_get_particle_on_path(), psys_thread_create_path(), ray_shadow_qmc(), RE_rayobject_instance_intersect(), render_new_particle_system(), ResizeBetween(), rest_pose(), rule_avoid_collision(), rule_flock(), rule_follow_leader(), rule_goal_avoid(), screen_aligned(), setNearestAxis3d(), shade_input_do_shade(), shade_sample_sss(), sk_distanceDepth(), snapDerivedMesh(), sphere_do(), splineik_evaluate_bone(), static_particle_strand(), strand_eval_point(), uiTemplateColorWheel(), v3d_editvertex_buts(), vcloud_estimate_transform(), view3d_main_area_setup_view(), view3d_zoom_border_exec(), viewAxisCorrectCenter(), and window_translate_m4().
| MINLINE float len_v3v3 | ( | const float | a[3], |
| const float | b[3] | ||
| ) |
Definition at line 383 of file math_vector_inline.c.
References simple_enum_gen::d, len_v3(), and sub_v3_v3v3().
Referenced by alter_co(), angle_normalized_v3v3(), apply_spring_memory(), applyModifier(), armature_click_extrude_exec(), autocalchandlesNurb(), beautify_fill(), BLI_FindNodeByPosition(), BLI_removeDoubleNodes(), brush_puff(), calc_distanceCurveVerts(), calc_edge_stress_add(), calchandleNurb(), CalcSnapGeometry(), calculateArcLength(), cloth_calc_helper_forces(), convert_pose(), convert_to_triface(), curvemap_make_table(), dist_to_line_segment_v3(), distlimit_evaluate(), do_bake_shade(), doEdgeSlide(), draw_em_measure_stats(), draw_new_particle_system(), draw_sphere_bone_dist(), draw_sphere_bone_wire(), dvar_eval_locDiff(), ED_armature_from_edit(), edgetag_cut_cost(), EM_face_perimeter(), EM_mesh_copy_edge(), equalize_bezier(), esubdivideflag(), ExtendArcBuckets(), filterSmartReebGraph(), finalizeControl(), globallen(), initToSphere(), interp_weights_poly_v3(), joinSubgraphsEnds(), laplacian_triangle_area(), make_selection_list_nurb(), merge_2_nurb(), meshdeform_intersect(), meshdeform_ray_tree_intersect(), nextFixedSubdivision(), nextLengthSubdivision(), normal_projection_project_vertex(), nr_distance_to_vert(), p_quad_split_direction(), pe_deflect_emitter(), peelDerivedMesh(), psys_thread_create_path(), ray_fadeout(), RE_inithalo(), RE_inithalo_particle(), recalc_lengths(), render_new_particle_system(), retargetArctoArcLength(), RIG_appendEdgeToArc(), RIG_reconnectControlBones(), RIG_removeUneededOffsets(), sb_detect_edge_collisionCached(), select_vertex_path_exec(), shade_input_set_strand_texco(), shade_input_set_uv(), shrinkwrap_get_tarmat(), similar_edge_select__internal(), sk_addStrokeSnapPoint(), sk_getStrokeSnapPoint(), sk_interpolateDepth(), snapEdge(), snapVertex(), sort_faces_exec(), sphere_do(), spothalo(), springs_from_mesh(), testAxialSymmetry(), testRadialSymmetry(), TranslationBetween(), valuefn(), viewops_data_create(), vol_shade_one_lamp(), warpModifier_do(), weightFromDistance(), and where_is_armature_bone().
| MINLINE float line_point_side_v2 | ( | const float | l1[2], |
| const float | l2[2], | ||
| const float | pt[2] | ||
| ) |
| MINLINE void madd_v2_v2v2fl | ( | float | r[2], |
| const float | a[2], | ||
| const float | b[2], | ||
| float | f | ||
| ) |
Definition at line 256 of file math_vector_inline.c.
Referenced by isect_line_sphere_v2().
| MINLINE void madd_v3_v3fl | ( | float | r[3], |
| const float | a[3], | ||
| float | f | ||
| ) |
Definition at line 242 of file math_vector_inline.c.
Referenced by accumulate_vertex_normals(), applyModifier(), basic_force_cb(), basic_integrate(), blend_from_shape_exec(), calc_latt_deform(), collision_point_on_surface(), collision_point_velocity(), collision_response(), dist_bone_deform(), do_kink(), do_material_tex(), EM_solidify(), integrate_particle(), meshdeformModifier_do(), occ_compute_bounces(), occ_lookup(), occ_shade(), occ_sum_occlusion(), psys_get_birth_coordinates(), psys_thread_create_path(), sample_occ_cache(), sample_occ_surface(), and sph_force_cb().
| MINLINE void madd_v3_v3v3 | ( | float | r[3], |
| const float | a[3], | ||
| const float | b[3] | ||
| ) |
Definition at line 249 of file math_vector_inline.c.
| MINLINE void madd_v3_v3v3fl | ( | float | r[3], |
| const float | a[3], | ||
| const float | b[3], | ||
| float | f | ||
| ) |
Definition at line 262 of file math_vector_inline.c.
Referenced by barycentric_transform(), clip_line_plane(), collision_interpolate_element(), collision_point_distance_with_normal(), collision_point_on_surface(), collision_response(), collision_sphere_to_edges(), do_path_effectors(), draw_particle(), drawshadbuflimits(), heat_ray_source_visible(), integrate_particle(), isect_line_sphere_v3(), psys_get_particle_state(), RE_rayobject_octree_intersect(), shrinkwrap_calc_normal_projection(), sph_force_cb(), view_dolly_mouseloc(), and view_zoom_mouseloc().
| MINLINE void madd_v3_v3v3v3 | ( | float | r[3], |
| const float | a[3], | ||
| const float | b[3], | ||
| const float | c[3] | ||
| ) |
Definition at line 269 of file math_vector_inline.c.
Referenced by transform_mesh_orco_verts().
| MINLINE void madd_v4_v4fl | ( | float | r[4], |
| const float | a[4], | ||
| float | f | ||
| ) |
Definition at line 276 of file math_vector_inline.c.
| void mid_v3_v3v3 | ( | float | r[3], |
| const float | a[3], | ||
| const float | b[3] | ||
| ) |
Definition at line 99 of file math_vector.c.
Referenced by _scan_for_ext_spring_forces(), _softbody_calc_forces_slice_in_a_thread(), boundbox_mesh(), bspface_init_strand(), curve_center_bounds(), docenter_armature(), draw_ebones(), draw_pose_bones(), dupli_extrude_cursor(), initWarp(), make_trans_verts(), mesh_center_bounds(), object_origin_set_exec(), smooth_vertex(), smoothModifier_do(), snap_curs_to_sel(), softbody_calc_forces(), tex_space_curve(), and uv_map_transform_center().
| void minmax_v3v3_v3 | ( | float | min[3], |
| float | max[3], | ||
| const float | vec[3] | ||
| ) |
Definition at line 361 of file math_vector.c.
Referenced by calculateCenterBound(), and initWarp().
| MINLINE void mul_v2_fl | ( | float | r[2], |
| float | f | ||
| ) |
Referenced by applySeqSlide(), boid_body(), createSlideVerts(), do_rough_end(), imagewraposa_aniso(), paint_space_stroke(), and uv_image_outset().
| MINLINE void mul_v2_v2 | ( | float | r[2], |
| const float | a[2] | ||
| ) |
Definition at line 215 of file math_vector_inline.c.
Referenced by uv_image_outset().
| MINLINE void mul_v2_v2fl | ( | float | r[2], |
| const float | a[2], | ||
| float | f | ||
| ) |
Definition at line 195 of file math_vector_inline.c.
Referenced by mdisp_flip_disp(), and normalize_v2_v2().
| MINLINE void mul_v3_fl | ( | float | r[3], |
| float | f | ||
| ) |
Definition at line 201 of file math_vector_inline.c.
Referenced by _scan_for_ext_spring_forces(), _softbody_calc_forces_slice_in_a_thread(), actcon_get_tarmat(), apply_tangmat_callback(), applyModifier(), applyTranslation(), armature_deform_verts(), axisProjection(), b_bone_spline_setup(), bake_shade(), basic_force_cb(), basic_integrate(), basic_rotate(), BKE_text_to_curve(), BLI_mirrorAlongAxis(), BME_bevel_get_vec(), BME_bevel_poly(), BME_bevel_set_max(), boid_body(), boid_brain(), boid_climb(), bone_align_to_bone(), bone_matrix_translate_y(), brush_add(), brush_comb(), brush_edit_apply(), brush_length(), brush_puff(), brush_smooth_do(), calc_area_normal_and_flatten_center(), calc_curve_deform(), calc_flatten_center(), calc_manipulator_stats(), CalcSnapGeometry(), calculateCenterBound(), calculateCenterMedian(), cdDM_foreachMappedFaceCenter(), check_path_length(), closest_point_on_surface(), cloth_bvh_objcollision(), cloth_calc_force(), cloth_calc_helper_forces(), cloth_collision(), cloth_collision_response_static(), cloth_from_object(), collision_check(), collision_fail(), collision_point_on_surface(), collision_response(), compute_radiance(), contarget_get_lattice_mat(), contarget_get_mesh_mat(), createFacepa(), createSlideVerts(), createTransEdge(), curve_center_median(), curvemap_make_table(), cutEdges(), distribute_threads_exec(), dm_calc_normal(), do_clay_brush(), do_clay_tubes_brush(), do_crease_brush(), do_draw_brush(), do_fill_brush(), do_flatten_brush(), do_grab_brush(), do_guides(), do_inflate_brush(), do_kink(), do_lamp_tex(), do_material_tex(), do_mesh_smooth_brush(), do_multires_smooth_brush(), do_particle_interpolation(), do_path_effectors(), do_physical_effector(), do_rotate_brush(), do_rough(), do_scrape_brush(), do_snake_hook_brush(), do_strip_modifiers(), do_version_bone_head_tail_237(), do_versions(), docenter_armature(), draw_manipulator_rotate(), draw_manipulator_rotate_cyl(), draw_particle(), draw_sphere_bone_wire(), draw_volume(), draw_xyz_wire(), drawlamp(), drawLine(), DS_energy(), ED_uvedit_median(), ED_view3d_global_to_vector(), ElementResize(), EM_editselection_center(), EM_make_hq_normals(), EM_mesh_copy_edge(), em_snap_to_center(), emDM__calcFaceCent(), execute_posetree(), execute_scene(), explodeMesh(), fill_scs_points(), filterSmartReebGraph(), fluid_init_all_channels(), flush_pixel(), flyApply(), flyApply_ndof(), followpath_evaluate(), get_effector_data(), getSnapPoint(), give_parvert(), heat_ray_source_visible(), ImageRender::ImageRender(), imapaint_tri_weights(), implicit_solver(), InputVector(), integrate_particle(), interp_barycentric_tri_data(), interp_bilinear_quad_data(), isect_line_line_strict_v3(), isect_line_line_v3(), isect_line_plane_v3(), isect_ray_tri_threshold_v3(), isect_sweeping_sphere_tri_v3(), M_Geometry_intersect_ray_tri(), make_occ_tree(), make_selection_list_nurb(), make_trans_verts(), mesh_center_median(), mesh_octree_table(), meshdeformModifier_do(), mul_fac_qt_fl(), multires_mdisp_smooth_bounds(), multiresModifier_base_apply(), multitex(), ndof_orbit_invoke(), ndof_pan_invoke(), nearest_point_in_tri_surface(), neighbor_average(), nextLengthSubdivision(), nr_signed_distance_to_plane(), ob_parbone(), ob_parvert3(), object_origin_set_exec(), occ_build_recursive(), occ_sum_occlusion(), offset_child(), old_mdisps_bilinear(), orthogonalize_m3(), orthogonalize_m4(), outside_lattice(), p_face_stretch(), paint_brush_stroke_add_step(), particle_normal_ren(), PE_apply_lengths(), pe_deflect_emitter(), pe_iterate_lengths(), peelDerivedMesh(), planeProjection(), pointdensitytex(), postInputShear(), postInputWarp(), project_brush_radius(), psys_get_birth_coordinates(), psys_get_particle_on_path(), psys_get_particle_state(), psys_make_billboard(), psys_particle_on_dm(), psys_render_simplify_distribution(), psys_thread_create_path(), ptcache_cloth_interpolate(), ptcache_particle_interpolate(), ptcache_particle_read(), ptcache_softbody_interpolate(), PushPull(), ray_ao_qmc(), ray_ao_spheresamp(), recalc_emitter_field(), REEB_AxialSymmetry(), REEB_exportGraph(), reference_to_scratch(), repositionControl(), repositionNodes(), return_editcurve_indexar(), return_editlattice_indexar(), return_editmesh_indexar(), return_editmesh_vgroup(), rotate(), rule_average_speed(), rule_avoid_collision(), rule_flock(), rule_follow_leader(), rule_goal_avoid(), rule_separate(), samevolume_evaluate(), sample_occ_cache(), sample_occ_tree(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), scale_quad(), scale_tri(), scatter_tree_new(), scatter_tree_sample(), sculpt_stroke_get_location(), setNearestAxis3d(), shade_input_do_shade(), shade_lamp_loop(), Shear(), ShrinkFatten(), sizelike_evaluate(), sizelimit_evaluate(), sk_drawStroke(), sk_flattenStroke(), sk_getSelfIntersections(), sk_getStrokeSnapPoint(), sk_interpolateDepth(), sk_straightenStroke(), snap_curs_to_sel(), snapEdge(), softbody_apply_forces(), softbody_calc_forces(), sort_faces_exec(), sph_integrate(), splineik_evaluate_bone(), static_particle_strand(), strand_eval_point(), subsurf_calculate_limit_positions(), TargetSnapMedian(), ToSphere(), trace_reflect(), trace_refract(), transform_evaluate(), ui_numedit_but_HSVCIRCLE(), update_velocities(), KX_GameObject::UpdateBlenderObjectMatrix(), vcloud_estimate_transform(), viewAxisCorrectCenter(), vieworbit_exec(), viewrotate_apply(), viewselected_exec(), vol_get_transmittance(), vol_shade_one_lamp(), volumeintegrate(), voxeldatatex(), Warp(), where_is_ik_bone(), where_is_pose_bone_tail(), and where_on_path_deform().
| MINLINE void mul_v3_v3 | ( | float | r[3], |
| const float | a[3] | ||
| ) |
Definition at line 221 of file math_vector_inline.c.
Referenced by do_crease_brush(), do_draw_brush(), do_projectpaint_draw_f(), and gpu_material_to_fixed().
| MINLINE void mul_v3_v3fl | ( | float | r[3], |
| const float | a[3], | ||
| float | f | ||
| ) |
Definition at line 208 of file math_vector_inline.c.
Referenced by bvh_callback(), collision_response(), dm_calc_normal(), do_clay_brush(), do_clay_tubes_brush(), do_crease_brush(), do_draw_brush(), do_fill_brush(), do_flatten_brush(), do_grab_brush(), do_kink(), do_layer_brush(), do_nudge_brush(), do_pinch_brush(), do_scrape_brush(), do_snake_hook_brush(), do_thumb_brush(), draw_new_particle_system(), draw_rotation_guide(), drawcircball(), drawlamp(), drawspiral(), GPU_enable_material(), gpu_material_to_fixed(), GPU_scene_object_lights(), integrate_particle(), ndof_orbit_invoke(), normalize_v3_v3(), old_mdisps_bilinear(), point_plane_project(), psys_get_birth_coordinates(), RE_rayobject_instance_intersect(), rotate(), and viewrotate_apply().
| MINLINE void mul_v3_v3v3 | ( | float | r[3], |
| const float | a[3], | ||
| const float | b[3] | ||
| ) |
| MINLINE void mul_v4_fl | ( | float | r[4], |
| float | f | ||
| ) |
Definition at line 228 of file math_vector_inline.c.
| void mul_vn_fl | ( | float * | array, |
| const int | size, | ||
| const float | f | ||
| ) |
Definition at line 398 of file math_vector.c.
Referenced by Color_idiv(), Color_imul(), and Vector_imul().
| void mul_vn_vn_fl | ( | float * | array_tar, |
| const float * | array_src, | ||
| const int | size, | ||
| const float | f | ||
| ) |
Definition at line 405 of file math_vector.c.
Referenced by color_mul_float(), matrix_mul_float(), screen_opengl_render_apply(), and vector_mul_float().
| MINLINE void negate_v3 | ( | float | r[3] | ) |
Definition at line 291 of file math_vector_inline.c.
Referenced by applyModifier(), armature_calc_roll_exec(), bevel_list_flip_tangents(), boid_body(), do_snake_hook_brush(), ED_rollBoneToVector(), ED_view3d_calc_clipping(), exec_strandsurface_sample(), getTransformOrientation(), GPU_material_bind_uniforms(), init_render_mesh(), isect_line_plane_v3(), isect_sweeping_sphere_tri_v3(), locktrack_evaluate(), mat3_to_rot_size(), occ_compute_passes(), occ_shade(), postInputWarp(), psys_get_birth_coordinates(), rollBoneByQuatAligned(), rule_fight(), screw_mesh_exec(), shade_input_set_normals(), shade_input_set_strand(), shade_sample_sss(), tangent_from_uv(), testAxialSymmetry(), vectomat(), view_zoom_mouseloc(), viewAxisCorrectCenter(), viewops_data_create(), vol_shade_one_lamp(), and where_on_path().
| MINLINE void negate_v3_v3 | ( | float | r[3], |
| const float | a[3] | ||
| ) |
Definition at line 298 of file math_vector_inline.c.
Referenced by boid_body(), compatible_bump_compute(), draw_rotation_guide(), drawshadbuflimits(), ED_view3d_from_m4(), eff_calc_visibility(), getTransformOrientation(), GPU_scene_object_lights(), ImageRender::ImageRender(), initFlyInfo(), initRotation(), isec_tri_quad_neighbour(), object_origin_clear_exec(), object_origin_set_exec(), psys_get_birth_coordinates(), rule_goal_avoid(), sample_occ_tree(), set_3dcursor_invoke(), shrinkwrap_calc_normal_projection(), stretchto_evaluate(), Vector_to_track_quat(), view3d_get_view_aligned_coordinate(), view_zoom_mouseloc(), viewcenter_cursor_exec(), viewdolly_exec(), viewdolly_invoke(), viewops_data_create(), and warpModifier_do().
| MINLINE void negate_v4 | ( | float | r[4] | ) |
Definition at line 305 of file math_vector_inline.c.
Referenced by pose_flip_quats_exec().
| MINLINE void negate_v4_v4 | ( | float | r[4], |
| const float | a[3] | ||
| ) |
Referenced by Quaternion_neg().
| void negate_vn | ( | float * | array_tar, |
| const int | size | ||
| ) |
Definition at line 383 of file math_vector.c.
Referenced by Vector_negate().
| void negate_vn_vn | ( | float * | array_tar, |
| const float * | array_src, | ||
| const int | size | ||
| ) |
Definition at line 390 of file math_vector.c.
Referenced by Color_neg(), and Vector_neg().
| MINLINE void normal_float_to_short_v3 | ( | short | r[3], |
| const float | n[3] | ||
| ) |
Definition at line 449 of file math_vector_inline.c.
Referenced by applyModifier(), ccgDM_copyFinalVertArray(), ccgDM_getFinalVert(), CDDM_from_editmesh(), emDM_copyVertArray(), emDM_getVert(), fluidsim_read_obj(), load_editMesh(), mball_to_mesh(), mesh_calc_normals(), and sculpt_undo_push_node().
| MINLINE void normal_short_to_float_v3 | ( | float | r[3], |
| const short | n[3] | ||
| ) |
Definition at line 442 of file math_vector_inline.c.
Referenced by applyModifier(), BL_ConvertMesh(), calc_area_normal(), calc_area_normal_and_flatten_center(), ccgDM_getFinalVertNo(), cdDM_getVertNo(), dm_calc_normal(), do_inflate_brush(), frontface(), GetNormal(), GPU_buffer_copy_normal(), init_render_mesh(), make_editMesh(), multiresbake_get_normal(), project_paint_begin(), psys_interpolate_face(), sculpt_restore_mesh(), shrinkwrap_calc_normal_projection(), snapEdge(), and snapVertex().
| MINLINE float normalize_v2 | ( | float | r[2] | ) |
Definition at line 414 of file math_vector_inline.c.
References normalize_v2_v2().
Referenced by angle_v2v2(), angle_v2v2v2(), boid_body(), boid_brain(), brush_painter_paint(), createSlideVerts(), draw_uvs_stretch(), gp_draw_stroke(), layerInterp_mdisps(), and uv_image_outset().
| MINLINE float normalize_v2_v2 | ( | float | r[2], |
| const float | a[2] | ||
| ) |
Definition at line 399 of file math_vector_inline.c.
References simple_enum_gen::d, dot_v2v2(), mul_v2_v2fl(), sqrtf, and zero_v2().
Referenced by normalize_v2().
| MINLINE float normalize_v3 | ( | float | r[3] | ) |
Definition at line 437 of file math_vector_inline.c.
References normalize_v3_v3().
Referenced by _scan_for_ext_spring_forces(), _softbody_calc_forces_slice_in_a_thread(), accumulate_vertex_normals(), add_render_lamp(), addnormalsDispList(), alter_co(), angle_quad_v3(), angle_tri_v3(), angle_v3v3v3(), apply_tangmat_callback(), applyModifier(), area_quad_v3(), area_tri_v3(), axis_angle_to_gimbal_axis(), axisProjection(), b_bone_spline_setup(), bake_shade(), basic_rotate(), bisect_v3_v3v3v3(), BKE_text_to_curve(), BLI_bvhtree_bb_raycast(), BLI_bvhtree_ray_cast(), Blinn_Spec(), BME_assign_transdata(), BME_bevel_get_angle(), BME_bevel_poly(), BME_bevel_project_vec(), BME_bevel_split_edge(), boid_body(), boid_brain(), boid_climb(), bone_align_to_bone(), brush_puff(), cache_key_incremental_rotation(), calc_area_normal(), calc_area_normal_and_flatten_center(), calc_curve_deform(), calc_vertexnormals(), calcCostAngleLengthDistance(), calchandleNurb(), calcTriangleDivs(), calculateCenter(), cloth_bvh_objcollision(), cloth_calc_helper_forces(), cloth_collision_response_static(), collision_point_distance_with_normal(), collision_point_on_surface(), collision_sphere_to_edges(), collision_sphere_to_verts(), compatible_bump_compute(), contarget_get_mesh_mat(), CookTorr_Spec(), createSpaceNormal(), createSpaceNormalTangent(), damptrack_evaluate(), distfactor_to_bone(), distribute_threads_exec(), dl_surf_to_renderdata(), dm_calc_normal(), do_guides(), do_kink(), do_material_tex(), do_path_effectors(), do_physical_effector(), draw_manipulator_rotate(), draw_manipulator_rotate_cyl(), draw_new_particle_system(), draw_particle(), draw_sphere_bone_dist(), draw_sphere_bone_wire(), draw_uvs_stretch(), draw_volume(), drawlamp(), drawmball(), drawshadbuflimits(), DS_energy(), dupli_extrude_cursor(), ED_view3d_global_to_vector(), ED_view3d_win_to_ray(), ED_view3d_win_to_vector(), edge_normal_compare(), editmesh_get_derived(), eff_calc_visibility(), EM_editselection_normal(), EM_editselection_plane(), EM_make_hq_normals(), extrude_repeat_mesh_exec(), extrudeflag_edge(), extrudeflag_edges_indiv(), extrudeflag_vert(), fill_scs_points(), filterSmartReebGraph(), followpath_get_tarmat(), forward_diff_bezier_cotangent(), get_effector_data(), get_strand_normal(), GetSkyXYZRadiancef(), getTransformOrientation(), getViewVector(), GPU_lamp_shadow_buffer_bind(), GPU_material_bind_uniforms(), handleRadialSymmetry(), heat_calc_vnormals(), heat_ray_source_visible(), heat_source_distance(), ImageRender::ImageRender(), init_render_curve(), init_render_mball(), init_render_mesh(), init_render_world(), initRotation(), initSnapping(), initTransform(), interpolate_shade_result(), isect_line_plane_v3(), isect_sweeping_sphere_tri_v3(), locktrack_evaluate(), M_Geometry_intersect_ray_tri(), make_bevel_list_3D_minimum_twist(), make_bevel_list_3D_tangent(), make_bevel_list_segment_3D(), make_render_halos(), markdownSecondarySymmetry(), mat3_to_quat_is_ok(), mesh_calc_normals(), mesh_edges_nearest_point(), meshdeform_inside_cage(), mul_fac_qt_fl(), multires_apply_smat(), multiresbake_get_normal(), multiresModifier_base_apply(), multiresModifier_disp_run(), nextLengthSubdivision(), node_shader_exec_camera(), node_shader_exec_material(), node_shader_exec_vect_math(), normal_quad_v3(), normal_tri_v3(), normalize_m3(), normalize_m4(), nr_signed_distance_to_plane(), ntap_bump_compute(), ob_parcurve(), occ_lookup(), occ_shade(), OrenNayar_Diff(), orthogonalize_m3(), orthogonalize_m4(), p_vec_angle_cos(), particle_billboard(), particle_normal_ren(), pbvh_update_normals(), PE_apply_lengths(), pe_deflect_emitter(), pe_iterate_lengths(), peelDerivedMesh(), Phong_Spec(), project_brush_radius(), project_paint_begin(), project_paint_uvpixel_mask(), psys_get_birth_coordinates(), psys_get_dupli_path_transform(), psys_get_particle_on_path(), psys_make_billboard(), psys_particle_on_dm(), psys_thread_create_path(), PushPull(), ray_ao_qmc(), ray_ao_spheresamp(), ray_fadeout_endcolor(), ray_shadow(), ray_shadow_qmc(), RE_inithalo(), RE_inithalo_particle(), RE_rayobject_instance_intersect(), RE_vlakren_get_normal(), recalc_editnormals(), recalc_emitter_field(), BL_MeshDeformer::RecalcNormals(), repositionBone(), RIG_calculateEdgeAngles(), rollBoneByQuatAligned(), rollBoneByQuatJoint(), RotationBetween(), rule_average_speed(), rule_avoid_collision(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), sb_spring_force(), sculpt_stroke_get_location(), set_prop_dist(), setNearestAxis3d(), shade_input_calc_viewco(), shade_input_set_normals(), shade_input_set_shade_texco(), shade_input_set_strand(), shade_input_set_triangle_i(), shade_input_set_vertex_normals(), shade_one_light(), shade_ray(), shade_sample_sss(), shadeAtmPixel(), shadeSkyPixel(), shadeSunView(), shadowbuf_autoclip(), shrinkwrap_calc_normal_projection(), shrinkwrap_get_tarmat(), sk_drawEdge(), sk_flattenStroke(), snapDerivedMesh(), snapEdge(), snapVertex(), softbody_calc_forces(), space_transform_apply_normal(), space_transform_invert_normal(), sph_force_cb(), sph_springs_modify(), sphere_do(), spin_mesh(), splineik_evaluate_bone(), spotvolume(), static_particle_strand(), static_particle_wire(), strand_eval_point(), stretchto_evaluate(), subdivide_edge_addvert(), Toon_Spec(), ToSphere(), trace_reflect(), trace_refract(), Trackball(), TransMat3ToSize(), tri_to_quat(), triatomat(), ui_numedit_but_HSVCIRCLE(), ui_numedit_but_NORMAL(), vec_roll_to_mat3(), vec_rot_to_quat(), vec_to_quat(), vectomat(), Vector_reflect(), Vector_rotation_difference(), viewdolly_exec(), viewdolly_invoke(), vieworbit_exec(), viewrotate_apply(), vol_get_shadow(), vol_get_transmittance(), vol_precache_part(), vol_shade_one_lamp(), volumeintegrate(), and WardIso_Spec().
| MINLINE float normalize_v3_v3 | ( | float | r[3], |
| const float | a[3] | ||
| ) |
Definition at line 419 of file math_vector_inline.c.
References simple_enum_gen::d, dot_v3v3(), mul_v3_v3fl(), sqrtf, and zero_v3().
Referenced by angle_v3v3(), applyModifier(), axis_angle_to_mat3(), axis_angle_to_quat(), boid_body(), boid_find_ground(), cloth_calc_force(), cloth_collision(), DM_add_tangent_layer(), do_kink(), editmesh_get_derived(), get_effector_data(), isect_line_line_strict_v3(), isect_line_line_v3(), isect_line_plane_v3(), locktrack_evaluate(), mesh_calc_normals(), ndof_to_axis_angle(), normalize_m3_m3(), normalize_m4_m4(), normalize_v3(), psys_get_birth_coordinates(), psys_make_billboard(), psys_render_projected_area(), rotate_v3_v3v3fl(), rule_fight(), sb_detect_vertex_collisionCached(), sk_initPoint(), spin_nurb(), stretchto_evaluate(), vec_roll_to_mat3(), vectomat(), Vector_rotation_difference(), view3d_align_axis_to_vector(), viewAxisCorrectCenter(), and viewdolly_exec().
| void ortho_basis_v3v3_v3 | ( | float | r1[3], |
| float | r2[3], | ||
| const float | a[3] | ||
| ) |
Definition at line 292 of file math_vector.c.
References simple_enum_gen::d, and sqrt().
Referenced by compatible_bump_compute(), compatible_bump_uv_derivs(), psys_render_projected_area(), ray_ao_qmc(), ray_shadow_qmc(), trace_reflect(), and trace_refract().
| void print_v2 | ( | const char * | str, |
| const float | a[2] | ||
| ) |
Definition at line 346 of file math_vector.c.
| void print_v3 | ( | const char * | str, |
| const float | a[3] | ||
| ) |
Definition at line 351 of file math_vector.c.
Referenced by RIG_printCtrl(), and RIG_printNode().
| void print_v4 | ( | const char * | str, |
| const float | a[4] | ||
| ) |
Definition at line 356 of file math_vector.c.
| void project_v2_v2v2 | ( | float | c[2], |
| const float | v1[2], | ||
| const float | v2[2] | ||
| ) |
Definition at line 239 of file math_vector.c.
References dot_v2v2(), and mul().
Referenced by mdisp_flip_disp().
| void project_v3_v3v3 | ( | float | r[3], |
| const float | p[3], | ||
| const float | n[3] | ||
| ) |
Definition at line 249 of file math_vector.c.
References dot_v3v3(), and mul().
Referenced by _scan_for_ext_spring_forces(), axisProjection(), BLI_mirrorAlongAxis(), BME_bevel_poly(), BME_bevel_set_max(), boid_body(), boid_climb(), calcArcCorrelation(), cloth_calc_force(), do_kink(), ED_rollBoneToVector(), get_effector_data(), handleRadialSymmetry(), InputHorizontalAbsolute(), InputVerticalAbsolute(), isect_line_line_v3(), locktrack_evaluate(), pivotcon_evaluate(), psys_get_birth_coordinates(), psys_thread_create_path(), PushPull(), RotationBetween(), rule_average_speed(), setNearestAxis3d(), sk_distanceDepth(), sk_flattenStroke(), static_particle_strand(), update_velocities(), vectomat(), and viewAxisCorrectCenter().
| void range_vni | ( | int * | array, |
| const int | size, | ||
| const int | start | ||
| ) |
Definition at line 375 of file math_vector.c.
Referenced by mesh_calc_modifiers().
| void reflect_v3_v3v3 | ( | float | r[3], |
| const float | v[3], | ||
| const float | n[3] | ||
| ) |
Definition at line 274 of file math_vector.c.
References copy_v3_v3(), and dot_v3v3().
Referenced by Vector_reflect().
| void rotate_normalized_v3_v3v3fl | ( | float | v[3], |
| const float | p[3], | ||
| const float | axis[3], | ||
| const float | angle | ||
| ) |
Definition at line 317 of file math_vector.c.
Referenced by rotate_v3_v3v3fl().
| void rotate_v3_v3v3fl | ( | float | v[3], |
| const float | p[3], | ||
| const float | axis[3], | ||
| const float | angle | ||
| ) |
Definition at line 335 of file math_vector.c.
References normalize_v3_v3(), and rotate_normalized_v3_v3v3fl().
| MINLINE void star_m3_v3 | ( | float | R[3][3], |
| float | a[3] | ||
| ) |
| MINLINE void sub_v2_v2 | ( | float | r[2], |
| const float | a[2] | ||
| ) |
Referenced by createSlideVerts(), and layerInterp_mdisps().
| MINLINE void sub_v2_v2v2 | ( | float | r[2], |
| const float | a[2], | ||
| const float | b[2] | ||
| ) |
Referenced by brush_painter_paint(), closest_to_line_v2(), do_projectpaint_thread(), EM_make_uv_vert_map(), isect_seg_seg_v2_point(), len_squared_v2v2(), line_point_factor_v2(), make_uv_vert_map(), mdisp_pt_in_crn(), nearest_uv_between(), paint_space_stroke(), project_paint_uvpixel_init(), texpaint_break_stroke(), and uv_image_outset().
| MINLINE void sub_v3_v3 | ( | float | r[3], |
| const float | a[3] | ||
| ) |
Referenced by add_normal_aligned(), applyModifier(), armature_deform_verts(), boid_find_ground(), calcArcCorrelation(), cuboid_do(), curvemap_make_table(), dist_bone_deform(), do_kink(), do_rotate_brush(), docenter_armature(), draw_xyz_wire(), dupli_extrude_cursor(), ED_view3d_from_m4(), ED_view3d_win_to_vector(), ElementResize(), ElementRotation(), envmaptex(), explodeMesh(), extrude_mesh(), flyApply_ndof(), initFlyInfo(), initWarp(), minmax_object(), ndof_orbit_invoke(), ndof_pan_invoke(), node_shader_exec_material(), object_apply_mat4(), object_make_proxy(), object_mat3_to_rot(), object_origin_set_exec(), pivotcon_evaluate(), pointdensity_cache_object(), pointdensity_cache_psys(), PushPull(), rotateflagNurb(), rule_average_speed(), rule_flock(), set_3dcursor_invoke(), Shear(), sk_drawStroke(), sk_flattenStroke(), snap_sel_to_grid(), sphere_do(), vertex_dupli__mapFunc(), view3d_get_view_aligned_coordinate(), view3d_zoom_border_exec(), viewAxisCorrectCenter(), viewrotate_apply(), and Warp().
| MINLINE void sub_v3_v3v3 | ( | float | r[3], |
| const float | a[3], | ||
| const float | b[3] | ||
| ) |
Definition at line 165 of file math_vector_inline.c.
Referenced by _softbody_calc_forces_slice_in_a_thread(), accumulate_vertex_normals(), addvert_Nurb(), alter_co(), angle_quad_v3(), angle_tri_v3(), angle_v3v3v3(), apply_armature_pose2bones_exec(), apply_heights_callback(), applyModifier(), applyProject(), ApplySnapTranslation(), area_quad_v3(), area_tri_v3(), armature_calc_roll_exec(), armature_click_extrude_exec(), armature_fill_bones_exec(), axisProjection(), b_bone_spline_setup(), bisect_v3_v3v3v3(), blend_from_shape_exec(), BLI_mirrorAlongAxis(), boid_body(), boid_climb(), boid_find_ground(), boid_goal_signed_dist(), bone_align_to_bone(), bone_connect_to_new_parent(), brush_smooth_do(), brush_smooth_get(), cache_key_incremental_rotation(), calc_curvepath(), calcArcCorrelation(), calcCostAngleLengthDistance(), calchandleNurb(), CalcSnapGeometry(), calculateCenterCursor(), clampto_evaluate(), clip_line_plane(), closest_to_line_v3(), cloth_calc_helper_forces(), collision_check(), collision_detect(), collision_point_distance_with_normal(), collision_point_on_surface(), collision_point_velocity(), collision_response(), collision_sphere_to_edges(), collision_sphere_to_tri(), collision_sphere_to_verts(), connectivity_edge(), costDistance(), cotan_weight(), createSlideVerts(), createTransArmatureVerts(), cuboid_do(), curvemap_make_table(), damptrack_evaluate(), deformVerts(), distfactor_to_bone(), distribute_grid(), do_clay_brush(), do_clay_tubes_brush(), do_crease_brush(), do_fill_brush(), do_flatten_brush(), do_kink(), do_mesh_smooth_brush(), do_multires_smooth_brush(), do_path_effectors(), do_pinch_brush(), do_scrape_brush(), draw_particle(), draw_rotation_guide(), draw_sphere_bone_dist(), draw_sphere_bone_wire(), draw_xyz_wire(), drawLine(), DS_energy(), ED_armature_from_edit(), ED_object_new_primitive_matrix(), ED_rollBoneToVector(), ED_view3d_global_to_vector(), ED_view3d_to_m4(), ED_view3d_win_to_ray(), edge_normal_compare(), edgetag_cut_cost(), ElementResize(), ElementRotation(), EM_editselection_normal(), EM_editselection_plane(), EM_mesh_copy_edge(), execute_posetree(), execute_scene(), face_duplilist(), ff_quad_form_factor(), filterSmartReebGraph(), finalizeControl(), fix_bonelist_roll(), fix_connected_bone(), flagAxialSymmetry(), get_effector_data(), get_matrix_editbone(), getEditBoneRollUpAxis(), getTransformOrientation(), getViewVector(), gp_get_3d_reference(), gp_stroke_convertcoords(), grid_tangent(), group_duplilist(), handleRadialSymmetry(), heat_ray_source_visible(), heat_source_distance(), ImageRender::ImageRender(), integrate_particle(), interp_weights_face_v3(), isec_tri_quad(), isec_tri_quad_neighbour(), isect_axial_line_tri_v3(), isect_line_line_strict_v3(), isect_line_line_v3(), isect_line_plane_v3(), isect_line_tri_v3(), isect_ray_plane_v3(), isect_ray_tri_epsilon_v3(), isect_ray_tri_threshold_v3(), isect_ray_tri_v3(), isect_sweeping_sphere_tri_v3(), join_armature_exec(), len_squared_v3v3(), len_v3v3(), line_point_factor_v3(), locktrack_evaluate(), M_Geometry_intersect_ray_tri(), make_bevel_list_segment_3D(), markdownSecondarySymmetry(), mean_value_half_tan(), measure_facepair(), mesh_edges_nearest_point(), mesh_octree_table(), meshdeform_inside_cage(), meshdeform_ray_tree_intersect(), meshdeform_tri_intersect(), meshdeformModifier_do(), multires_apply_smat(), multiresModifier_disp_run(), multiresModifier_update(), new_particle_duplilist(), nextAdaptativeSubdivision(), nextLengthSubdivision(), nr_distance_to_edge(), nr_signed_distance_to_plane(), object_hook_recenter_exec(), p_chart_pin_positions(), paint_brush_stroke_add_step(), parent_set_exec(), PE_apply_lengths(), pe_deflect_emitter(), pe_iterate_lengths(), pivotcon_evaluate(), plane_point_side(), plane_point_side_flip(), planeProjection(), point_in_slice(), point_plane_project(), precache_init_parts(), precache_resolution(), precalculate_effector(), project_paint_begin(), psys_cache_edit_paths(), psys_get_birth_coordinates(), psys_get_dupli_path_transform(), psys_interpolate_face(), psys_thread_create_path(), ptcache_particle_interpolate(), ptcache_particle_read(), PushPull(), RE_inithalo(), RE_inithalo_particle(), repositionBone(), repositionControl(), ResizeBetween(), RIG_calculateEdgeAngles(), RIG_parentControl(), rollBoneByQuatAligned(), rollBoneByQuatJoint(), RotationBetween(), rule_avoid_collision(), rule_fight(), rule_follow_leader(), rule_goal_avoid(), rule_separate(), sb_spring_force(), scale_quad(), scale_tri(), sculpt_flush_pbvhvert_deform(), sculpt_search_sphere_cb(), sculpt_stroke_get_location(), sculpt_update_brush_delta(), set_prop_dist(), setNearestAxis3d(), Shear(), similar_edge_select__internal(), sk_applyTrimGesture(), sk_detectDeleteGesture(), sk_detectReverseGesture(), sk_detectTrimGesture(), sk_distanceDepth(), sk_drawEdge(), sk_flattenStroke(), sk_getSegments(), sk_getSelfIntersections(), sk_projectDrawPoint(), sk_straightenStroke(), snap_sel_to_curs(), snapEdge(), snapVertex(), softbody_calc_forces(), special_transvert_update(), sph_force_cb(), sph_integrate(), sph_springs_modify(), splineik_evaluate_bone(), static_particle_strand(), static_particle_wire(), strand_eval_point(), stretchto_evaluate(), tangent_from_uv(), testAxialSymmetry(), ToSphere(), trackto_evaluate(), tri_to_quat(), triatomat(), uv_cylinder_project(), uv_sphere_project(), v3_dist_from_plane(), v3d_editvertex_buts(), vcloud_estimate_transform(), vectomat(), view3d_all_exec(), viewAxisCorrectCenter(), viewops_data_create(), viewrotate_apply(), viewselected_exec(), vol_get_precached_scattering(), where_is_armature_bone(), and where_on_path_deform().
| MINLINE void sub_v4_v4 | ( | float | r[4], |
| const float | a[4] | ||
| ) |
Definition at line 172 of file math_vector_inline.c.
| MINLINE void sub_v4_v4v4 | ( | float | r[4], |
| const float | a[4], | ||
| const float | b[4] | ||
| ) |
| void sub_vn_vn | ( | float * | array_tar, |
| const float * | array_src, | ||
| const int | size | ||
| ) |
Definition at line 430 of file math_vector.c.
Referenced by Color_isub(), and Vector_isub().
| void sub_vn_vnvn | ( | float * | array_tar, |
| const float * | array_src_a, | ||
| const float * | array_src_b, | ||
| const int | size | ||
| ) |
Definition at line 438 of file math_vector.c.
Referenced by Color_sub(), Matrix_sub(), and Vector_sub().
| MINLINE void swap_v2_v2 | ( | float | a[2], |
| float | b[2] | ||
| ) |
Definition at line 82 of file math_vector_inline.c.
References SWAP.
| MINLINE void swap_v3_v3 | ( | float | a[3], |
| float | b[3] | ||
| ) |
Definition at line 88 of file math_vector_inline.c.
References SWAP.
Referenced by sculpt_restore_deformed(), sculpt_undo_restore(), and switch_keys_direction().
| MINLINE void swap_v4_v4 | ( | float | a[4], |
| float | b[4] | ||
| ) |
Definition at line 95 of file math_vector_inline.c.
References SWAP.
| MINLINE void zero_v2 | ( | float | r[2] | ) |
Definition at line 40 of file math_vector_inline.c.
Referenced by normalize_v2_v2(), resolve_quad_uv(), resolve_tri_uv(), and uvedit_center().
| MINLINE void zero_v3 | ( | float | r[3] | ) |
Definition at line 46 of file math_vector_inline.c.
Referenced by apply_armature_pose2bones_exec(), apply_objects_internal(), applyModifier(), bake_shade(), basic_integrate(), BlenderWorldInfo::BlenderWorldInfo(), boundbox_displist(), calc_area_normal(), calc_area_normal_and_flatten_center(), calc_flatten_center(), clip_line_plane(), constraint_mat_convertspace(), curve_center_median(), docenter_armature(), draw_image_info(), draw_nodespace_color_info(), draw_sphere_bone_dist(), drawlamp(), ED_object_rotation_from_view(), ED_uvedit_median(), ED_view3d_win_to_3d(), EM_make_hq_normals(), Euler_zero(), fluid_get_bb(), init_render_curve(), integrate_particle(), layerInterp_mdisps(), mesh_center_median(), meshdeform_dynamic_bind(), meshdeformModifier_do(), multitex_nodes(), newColorObject(), newEulerObject(), normalize_v3_v3(), object_clear_rot(), object_origin_set_exec(), occ_lookup(), occ_sum_occlusion(), paint_brush_stroke_add_step(), pchan_clear_rot(), psys_get_birth_coordinates(), psys_make_billboard(), psys_thread_create_path(), ray_ao_qmc(), ray_ao_spheresamp(), recalc_editnormals(), rest_pose(), return_editmesh_indexar(), return_editmesh_vgroup(), sample_occ_cache(), sample_occ_surface(), sample_occ_tree(), sculpt_update_brush_delta(), softbody_reset(), tex_space_mesh(), vcloud_estimate_transform(), and view3d_all_exec().
| MINLINE void zero_v4 | ( | float | r[4] | ) |
Definition at line 53 of file math_vector_inline.c.
Referenced by draw_image_info(), draw_nodespace_color_info(), nodeGroupAddSocket(), and svd_m4().