Blender V2.61 - r43446
Defines | Functions

math_vector_inline.c File Reference

#include "BLI_math.h"

Go to the source code of this file.

Defines

#define BLI_MATH_VECTOR_INLINE_H

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 copy_v2_v2_char (char r[2], const char a[2])
MINLINE void copy_v3_v3_char (char r[3], const char a[3])
MINLINE void copy_v4_v4_char (char r[4], const char a[4])
MINLINE void copy_v2_v2_short (short r[2], const short a[2])
MINLINE void copy_v3_v3_short (short r[3], const short a[3])
MINLINE void copy_v4_v4_short (short r[4], const short a[4])
MINLINE void copy_v2_v2_int (int r[2], const int a[2])
MINLINE void copy_v3_v3_int (int r[3], const int a[3])
MINLINE void copy_v4_v4_int (int r[4], const int 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_v4_fl (float r[4], float f)
MINLINE void madd_v2_v2fl (float r[2], const float a[2], 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 mul_v3_v3v3 (float r[3], const float v1[3], const float v2[3])
MINLINE void negate_v2 (float r[3])
MINLINE void negate_v2_v2 (float r[2], const float a[2])
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[4])
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 rmat[][3], float a[3])
MINLINE float len_v2 (const float v[2])
MINLINE float len_v2v2 (const float v1[2], const float v2[2])
MINLINE float len_v3 (const float a[3])
MINLINE float len_squared_v2v2 (const float a[3], const float b[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_v2 (float r[2], const float a[2])
MINLINE float normalize_v2 (float n[2])
MINLINE float normalize_v3_v3 (float r[3], const float a[3])
MINLINE float normalize_v3 (float n[3])
MINLINE void normal_short_to_float_v3 (float out[3], const short in[3])
MINLINE void normal_float_to_short_v3 (short out[3], const float in[3])
MINLINE int is_zero_v3 (const float v[3])
MINLINE int is_zero_v4 (const float v[4])
MINLINE int is_one_v3 (const float v[3])
MINLINE int equals_v2v2 (const float v1[2], const float v2[2])
MINLINE int equals_v3v3 (const float v1[3], const float v2[3])
MINLINE int equals_v4v4 (const float v1[4], const float v2[4])
MINLINE int compare_v3v3 (const float v1[3], const float v2[3], const float limit)
MINLINE int compare_len_v3v3 (const float v1[3], const float v2[3], const float limit)
MINLINE int compare_v4v4 (const float v1[4], const float v2[4], const float limit)
MINLINE float line_point_side_v2 (const float l1[2], const float l2[2], const float pt[2])

Detailed Description

Definition in file math_vector_inline.c.


Define Documentation

#define BLI_MATH_VECTOR_INLINE_H

Definition at line 34 of file math_vector_inline.c.


Function Documentation

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_fl ( float  r[3],
float  f 
)

Definition at line 169 of file math_vector_inline.c.

Referenced by dynamicPaint_paintMesh().

MINLINE void add_v3_v3 ( float  r[3],
const float  a[3] 
)

Definition at line 196 of file math_vector_inline.c.

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(), BME_bevel_poly(), boid_body(), boid_brain(), boid_find_ground(), bone_connect_to_new_parent(), bone_matrix_translate_y(), brush_add(), brush_comb(), brush_puff(), brush_smooth_do(), brush_smooth_get(), calc_area_normal(), calc_area_normal_and_flatten_center(), calc_flatten_center(), calc_shapeKeys(), calc_tangent_vector(), calc_tw_center(), calculateCenterMedian(), cdDM_foreachMappedFaceCenter(), closest_point_on_surface(), cloth_calc_helper_forces(), cloth_collision(), collision_response(), connect_hair(), 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_guides(), 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_texture_effector(), docenter_armature(), draw_particle(), draw_rotation_guide(), draw_xyz_wire(), drawConstraint(), drawnurb(), drawRBpivot(), DS_energy(), dynamicPaint_paintMesh(), 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(), getSingleCoordinate(), getSnapPoint(), getTransformOrientation(), give_parvert(), heat_calc_vnormals(), init_render_curve(), integrate_particle(), interp_barycentric_tri_data(), interp_bilinear_quad_data(), isect_plane_plane_v3(), isect_sweeping_sphere_tri_v3(), layerInterp_shapekey(), make_occ_tree(), 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(), particle_billboard(), pe_deflect_emitter(), pe_iterate_lengths(), peelDerivedMesh(), project_paint_begin(), psys_make_billboard(), psys_particle_on_dm(), psys_render_simplify_distribution(), psys_thread_create_path(), REEB_AxialSymmetry(), reference_to_scratch(), repositionNodes(), return_editcurve_indexar(), return_editlattice_indexar(), return_editmesh_indexar(), return_editmesh_vgroup(), rotateflagNurb(), rule_average_speed(), rule_flock(), rule_goal_avoid(), rule_separate(), sb_detect_vertex_collisionCached(), scale_quad(), scale_tri(), sculpt_combine_proxies(), sculpt_stroke_get_location(), sculpt_update_brush_delta(), set_origin_exec(), setNearestAxis3d(), shade_lamp_loop(), Shear(), sk_drawStroke(), sk_flattenStroke(), sk_getSelfIntersections(), sk_interpolateDepth(), sk_straightenStroke(), smooth_vertex(), smoothModifier_do(), snap_curs_to_sel(), snap_sel_to_grid(), softbody_apply_forces(), softbody_calc_forces(), sort_faces_exec(), special_transvert_update(), sph_particle_courant(), 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(), where_on_path_deform(), and zbufshade_sss_tile().

MINLINE void add_v3_v3v3 ( float  r[3],
const float  a[3],
const float  b[3] 
)

Definition at line 203 of file math_vector_inline.c.

Referenced by _scan_for_ext_spring_forces(), _softbody_calc_forces_slice_in_a_thread(), add_primitive_bone(), addvert_Nurb(), applyTranslation(), area_lamp_energy_multisample(), armature_bone_primitive_add_exec(), armature_deform_verts(), axisProjection(), bisect_v3_v3v3v3(), boid_climb(), boid_find_ground(), bone_align_to_bone(), brush_add(), brush_length(), calc_curve_deform(), calchandleNurb(), CalcSnapGeometry(), calculateCenterBound(), camera_view_frame_fit_to_scene(), check_path_length(), collision_response(), compute_radiance(), createFacepa(), createSlideVerts(), createTransEdge(), curvemap_make_table(), dist_to_plane_normalized_v3(), dist_to_plane_v3(), distribute_threads_exec(), dl_surf_to_renderdata(), dm_calc_normal(), do_crease_brush(), do_hair_dynamics(), do_kink(), do_material_tex(), do_multires_smooth_brush(), do_physical_effector(), do_version_bone_head_tail_237(), draw_new_particle_system(), draw_particle(), draw_rotation_guide(), draw_sphere_bone_wire(), draw_volume(), 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(), meshdeform_ray_tree_intersect(), multiresModifier_disp_run(), nearest_point_in_tri_surface(), new_particle_duplilist(), ob_parvert3(), object_to_mat4(), old_mdisps_bilinear(), particle_billboard(), pdDoEffectors(), PE_apply_lengths(), pe_iterate_lengths(), pivotcon_evaluate(), planeProjection(), project_brush_radius(), PushPull(), ray_trace(), recalc_emitter_field(), REEB_exportGraph(), REEB_RadialSymmetry(), render_new_particle_system(), 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 176 of file math_vector_inline.c.

MINLINE int compare_len_v3v3 ( const float  v1[3],
const float  v2[3],
const float  limit 
)

Definition at line 574 of file math_vector_inline.c.

Referenced by apply_boid_rule(), and arrayModifier_doArray().

MINLINE int compare_v3v3 ( const float  v1[3],
const float  v2[3],
const float  limit 
)
MINLINE int compare_v4v4 ( const float  v1[4],
const float  v2[4],
const float  limit 
)

Definition at line 585 of file math_vector_inline.c.

References fabsf.

MINLINE void copy_v2_v2 ( float  r[2],
const float  a[2] 
)

Definition at line 59 of file math_vector_inline.c.

Referenced by ActionFCurveToTransData(), applySeqSlide(), bezt_to_transdata(), BKE_movieclip_get_stable_ibuf(), BKE_tracking_add_track(), BKE_tracking_next(), BKE_tracking_stabilize(), boid_body(), brush_jitter_pos(), cancel_mouse_slide(), cdDM_drawMappedFacesGLSL(), clip_draw_main(), closest_to_line_segment_v2(), create_slide_marker_data(), DM_calc_auto_bump_scale(), do_rough_end(), doEdgeSlide(), draw_distortion(), draw_tracking_tracks(), dynamicPaint_createUVSurface(), dynamicPaint_findNeighbourPixel(), dynamicPaint_setInitialColor(), ED_clip_point_undistorted_pos(), find_nearest_tracking_knot_cb(), find_nearest_tracking_segment_cb(), flushTransTracking(), get_area_imbuf(), 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(), layerCopyValue_mloopuv(), layerInterp_msticky(), layerSwap_origspace_face(), layerSwap_tface(), line_clip_rect2f(), M_Geometry_intersect_point_line(), marker_block_handler(), markerToTransDataInit(), mdisp_flip_disp(), mouse_on_corner(), mouse_select_init_data(), p_chart_stretch_minimize(), paint_brush_stroke_add_step(), paint_space_stroke(), project_bucket_clip_face(), project_paint_face_init(), project_paint_op(), project_paint_uvpixel_init(), put_postprocessed_frame_to_cache(), put_stabilized_frame_to_cache(), 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_brush_delta(), sculpt_update_cache_invariants(), sculpt_update_cache_variants(), set_subsurf_uv(), snap_uvs_to_cursor(), ss_sync_from_uv(), to_pixel_space(), uvedit_vertex_buttons(), uvprojectModifier_do(), view3d_boxview_clip(), view_pan_exit(), view_pan_init(), view_pan_modal(), and widget_verts_to_quad_strip().

MINLINE void copy_v2_v2_char ( char  r[2],
const char  a[2] 
)

Definition at line 81 of file math_vector_inline.c.

MINLINE void copy_v2_v2_int ( int  r[2],
const int  a[2] 
)
MINLINE void copy_v2_v2_short ( short  r[2],
const short  a[2] 
)

Definition at line 103 of file math_vector_inline.c.

MINLINE void copy_v3_v3 ( float  r[3],
const float  a[3] 
)

Definition at line 65 of file math_vector_inline.c.

Referenced by _softbody_calc_forces_slice_in_a_thread(), actcon_get_tarmat(), add_hook_object(), add_in_range(), add_metaball_primitive(), add_nearest(), TransformWriter::add_node_transform_ob(), add_points_bone(), add_pose_transdata(), add_primitive_bone(), add_render_lamp(), add_tface_color_layer(), add_vertex_invoke(), add_verts_to_dgroups(), add_vgroups__mapFunc(), addDepthPeel(), addSnapPoint(), addvert_Nurb(), Align(), alter_co(), ambient_occlusion_apply(), apply_armature_pose2bones_exec(), AnimationImporter::apply_matrix_curves(), apply_objects_internal(), apply_targetless_ik(), applyAxisConstraintRot(), applyAxisConstraintVec(), applyModifier(), applyObjectConstraintRot(), applyObjectConstraintVec(), applyProject(), applyTranslation(), applyTransObjects(), armature_bone_primitive_add_exec(), armature_calc_roll_exec(), armature_click_extrude_exec(), armature_click_extrude_invoke(), armature_deform_verts(), armature_extrude_exec(), armature_fill_bones_exec(), armature_loc_pose_to_bone(), armature_loc_world_to_pose(), armature_mat_pose_to_bone(), armature_subdivide_exec(), arrayModifier_doArray(), atm_tile(), AtmospherePixleShader(), axis_angle_to_gimbal_axis(), axisProjection(), b_bone_spline_setup(), bake_shade(), barycentric_transform(), base_callback(), basic_integrate(), bevel_list_cyclic_fix_3D(), bevelinside(), bevels_to_filledpoly(), bezt_to_transdata(), BIF_draw_manipulator(), blend_from_shape_exec(), blendColors(), BlenderWorldInfo::BlenderWorldInfo(), BLI_bvhtree_bb_raycast(), BLI_bvhtree_ray_cast(), 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(), BME_assign_transdata(), BME_bevel_poly(), BME_bevel_set_max(), boid_body(), boid_brain(), boid_climb(), boid_find_ground(), boids_precalc_rules(), bone_connect_to_existing_parent(), bone_connect_to_new_parent(), bone_matrix_translate_y(), bones_merge(), boundInsert(), box_minmax_bounds_m4(), brush_comb(), brush_imbuf_new(), brush_length(), brush_painter_do_partial(), brush_puff(), brush_smooth_do(), bspface_init_strand(), KX_NavMeshObject::BuildVertIndArrays(), bvhselftree_build_from_cloth(), bvhselftree_update_from_cloth(), bvhtree_build_from_cloth(), bvhtree_build_from_mvert(), bvhtree_from_mesh_edges(), bvhtree_from_mesh_faces(), bvhtree_update_from_cloth(), bvhtree_update_from_mvert(), cache_key_incremental_rotation(), cache_occ_samples(), cache_strand_surface(), calc_area_normal(), calc_area_normal_and_flatten_center(), calc_curve_deform(), calc_latt_deform(), calc_ocval_face(), calc_sculpt_normal(), calc_sculpt_plane(), calc_shapeKeys(), calc_vertexnormals(), CalcSnapGeometry(), calculateCenter(), calculateCenter2D(), calculateCenterBound(), calculateCenterCursor(), calculateCenterMedian(), calculateTransformCenter(), camera_view_frame_fit_to_scene(), ccd_mesh_make(), ccd_mesh_update(), ccgDM_copyFinalVertArray(), ccgDM_getFinalVert(), ccgDM_getFinalVertCo(), ccgdm_getVertCos(), CDDM_apply_vert_coords(), cdDM_drawMappedFacesGLSL(), cdDM_foreachMappedFaceCenter(), CDDM_from_editmesh(), cdDM_getVertCo(), cdDM_getVertCos(), childof_evaluate(), choose_winner(), clampto_evaluate(), clip_line_plane(), clipMirrorModifier(), cloneArc(), cloneControl(), closest_point_on_surface(), closest_to_line_segment_v3(), cloth_bvh_objcollisions_resolve(), cloth_calc_helper_forces(), cloth_collision_response_static(), cloth_from_object(), cloth_to_object(), collision_check(), collision_fail(), collision_newton_rhapson(), collision_point_velocity(), collision_response(), Color_CreatePyObject(), colorfn(), column_vectors_to_mat3(), compatible_bump_compute(), compute_radiance(), connect_hair(), constraint_mat_convertspace(), constraint_target_to_mat4(), constraintTransLim(), contarget_get_lattice_mat(), contarget_get_mesh_mat(), convert_socket_value(), convert_tree(), convertspline(), copy_attr(), copy_object_transform(), copy_pose_channel_data(), copy_pose_result(), copyData(), createRepresentation(), createSlideVerts(), createSpaceNormal(), createSpaceNormalTangent(), createTransArmatureVerts(), createTransCurveVerts(), createTransLatticeVerts(), createTransMBallVerts(), createTransNlaData(), createTransParticleVerts(), createTransTexspace(), createVertsTrisData(), cubemap_glob(), cubemap_ob(), cuboid_do(), curve_applyVertexCos(), curve_deform_vector(), curve_deform_verts(), curve_getKeyVertexCos(), curve_getVertexCos(), curve_to_displist(), curve_to_key(), curvemap_make_table(), curvemapping_set_black_white(), damptrack_evaluate(), database_init_objects(), TransformBase::decompose(), deformVerts(), direct_link_object(), displace_render_vert(), dist_bone_deform(), distlimit_evaluate(), distribute_grid(), distribute_threads_init_data(), dl_surf_to_renderdata(), DM_to_meshkey(), do_bake_shade(), do_clay_tubes_brush(), do_color_key(), do_copy_a_rgba(), do_copy_rgb(), do_curves_fac(), do_diff_matte(), do_distance_matte(), do_filter3(), do_grab_brush(), do_guides(), do_hair_dynamics(), do_inflate_brush(), do_invert(), do_kink(), do_lamp_tex(), do_material_tex(), do_mix_rgb(), do_nudge_brush(), do_path_effectors(), do_physical_effector(), do_projectpaint_draw_f(), do_rotate_brush(), do_rough(), do_scanconvert_strand(), do_sky_tex(), do_snake_hook_brush(), do_step_cloth(), do_texture_effector(), do_thumb_brush(), do_version_bone_head_tail_237(), do_versions(), do_versions_socket_default_value(), do_view3d_region_buttons(), do_volume_tex(), docenter_armature(), doMirrorOnAxis(), draw_em_measure_stats(), draw_forcefield(), draw_new_particle_system(), draw_object(), draw_particle(), draw_pose_dofs(), draw_ptcache_edit(), draw_sphere_bone_wire(), draw_tface__set_draw_legacy(), draw_volume(), draw_xyz_wire(), drawcone(), drawHelpline(), drawlamp(), drawLine(), drawPropCircle(), drawRBpivot(), drawspiral(), drawSubdividedStrokeBy(), drawtexspace(), drawtube(), dupli_extrude_cursor(), duplicate_pose_channel_data(), dvar_eval_locDiff(), dvar_eval_transChan(), dynamicPaint_brushMeshCalculateVelocity(), dynamicPaint_generateBakeData(), dynamicPaint_mixPaintColors(), dynamicPaint_paintMesh(), dynamicPaint_paintParticles(), dynamicPaint_paintSinglePoint(), dynamicPaint_prepareEffectStep(), dynamicPaint_setInitialColor(), dynamicPaint_surfacePreStep(), ED_armature_from_edit(), ED_curve_actSelection(), ED_image_draw_info(), ED_node_shader_default(), ED_object_base_init_transform(), ED_object_location_from_view(), ED_object_modifier_convert(), ED_object_new_primitive_matrix(), ED_view3d_boundbox_clip(), ED_view3d_draw_offscreen(), ED_view3d_global_to_vector(), ED_view3d_project_float(), ED_view3d_project_float_v3(), ED_view3d_win_to_3d(), ED_view3d_win_to_segment_clip(), ED_view3d_win_to_vector(), edit_to_particle(), editmesh_get_vertex_cos(), editMesh_to_undoMesh(), ElementResize(), ElementRotation(), EM_editselection_center(), EM_editselection_normal(), EM_editselection_plane(), EM_make_hq_normals(), emDM__calcFaceCent(), emDM_copyVertArray(), emDM_getVert(), emDM_getVertCos(), envmaptex(), Euler_CreatePyObject(), eulO_to_gimbal_axis(), AnimationImporter::evaluate_animation(), exec_strandsurface_sample(), execute_posetree(), execute_scene(), extrudeflag_edge(), extrudeflag_face_indiv(), extrudeflag_vert(), face_duplilist(), fcurves_to_pchan_links_get(), ff_visible_quad(), fill_add_joint(), filldisplist(), finalize_render_object(), finalizeControl(), flushTransParticles(), flyApply(), flyEnd(), followpath_get_tarmat(), followtrack_evaluate(), font_duplilist(), get_cpa_texture(), get_editmesh_orco_verts(), get_effector_data(), get_face_center(), get_mesh_orco_verts(), get_new_constraint_target(), get_strand_normal(), get_texture_coords(), get_vert2geom_distance(), getEditBoneRollUpAxis(), GetNormal(), GetPosition(), GetSkyXYZRadiancef(), getSnapPoint(), getTransformOrientation(), getViewVector(), give_base_to_groups(), give_parvert(), global_bounds_obi(), globallen(), gp_get_3d_reference(), gp_paint_initstroke(), gp_stroke_to_bezier(), gp_stroke_to_path(), gp_strokepoint_convertcoords(), GPU_buffer_copy_normal(), GPU_buffer_copy_vertex(), GPU_lamp_update(), GPU_material_bind(), GPU_material_bind_uniforms(), gpu_material_to_fixed(), GPU_scene_object_lights(), GPU_update_mesh_buffers(), hair_to_particle(), harmonic_coordinates_bind(), headerTranslation(), heat_ray_source_visible(), heat_source_distance(), ibuf_get_color(), ibuftoimage(), image_sample_line_exec(), ImageRender::ImageRender(), imagewraposa(), imapaint_project(), imapaint_tri_weights(), IMB_buffer_float_from_float(), imb_savetiff(), implicit_solver(), init_render_curve(), init_render_dm(), init_render_mball(), init_render_mesh(), init_render_world(), init_tex_mapping(), initElbeemMesh(), initFlyInfo(), initRotation(), initstar(), initTransform(), initWarp(), integrate_particle(), interp_barycentric_tri_data(), interp_bilinear_grid(), interp_bilinear_quad_data(), InterpCSGFace(), intersect_dm_quad_weights(), isb_make_buffer_transp(), isec_tri_quad(), isec_tri_quad_neighbour(), isect_line_line_v3(), isect_sweeping_sphere_tri_v3(), key_block_get_data(), key_to_curve(), key_to_latt(), key_to_mesh(), key_to_vertcos(), kinematic_get_tarmat(), lamp_get_visibility(), latt_to_key(), lattice_applyVertexCos(), lattice_getVertexCos(), lib_link_screen_restore(), load_editLatt(), loclike_evaluate(), M_Geometry_intersect_line_line(), M_Geometry_intersect_point_line(), M_Geometry_intersect_ray_tri(), make_bevel_list_3D_tangent(), make_bevel_list_segment_3D(), make_boneList(), make_occ_tree(), make_orco_curve(), make_render_halos(), make_snap(), make_trans_verts(), make_vertexcos__mapFunc(), make_vertexcosnos__mapFunc(), makeBevelList(), 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(), Matrix_translation_set(), mball_to_mesh(), mesh_deform_bind(), mesh_edges_nearest_point(), mesh_faces_nearest_point(), mesh_faces_nearest_point_dp(), mesh_get_texspace(), mesh_to_curve(), mesh_to_key(), meshdeform_dynamic_bind(), meshdeform_inside_cage(), meshdeform_intersect(), meshdeform_matrix_solve(), meshdeform_ray_tree_intersect(), meshdeformModifier_do(), minmax_evaluate(), minmax_object(), minmax_verts(), mixColors(), motionpaths_calc_bake_targets(), moveCloserToDistanceFromPlane(), 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(), multitex_nodes(), mvert_to_particle(), my_tex_space_mesh(), ndof_orbit_invoke(), nearest_point_in_tri_surface(), neighbor_average(), new_particle_duplilist(), newRigNode(), newRigNodeHead(), node_buts_curvecol(), node_composit_exec_normal(), node_composit_exec_texture(), node_shader_exec_camera(), node_shader_exec_geom(), node_shader_exec_invert(), node_shader_exec_material(), node_shader_exec_mix_rgb(), node_shader_exec_normal(), node_shader_exec_rgb(), node_shader_exec_texture(), nodeShaderSynchronizeID(), nodestack_get_vec(), NodeToTransData(), normal_projection_project_vertex(), ntap_bump_compute(), nurbs_to_mdata_customdb(), ob_parbone(), ob_parcurve(), ob_parvert3(), object_clear_rot(), object_hook_assign_exec(), object_make_proxy(), object_origin_set_exec(), object_shape_key_mirror(), object_tfm_backup(), object_tfm_restore(), ObjectToTransData(), obmat_to_viewmat(), occ_build_dco(), occ_face(), occ_form_factor(), occ_lookup(), occ_shade(), occ_sum_occlusion(), occ_visible_quad(), octree_fill_rayface(), offset_child(), p_face_stretch(), particle_billboard(), particle_intersect_dm(), particle_normal_ren(), pbvh_update_normals(), pchan_bone_deform(), pchan_clear_rot(), pchan_to_mat4(), pdDoEffectors(), pe_deflect_emitter(), PE_lasso_select(), PE_minmax(), PE_mirror_particle(), PE_update_mirror_cache(), peelDerivedMesh(), pivotcon_evaluate(), planeProjection(), plugintex(), point_inside_obi(), pointdensity_cache_object(), pointdensity_cache_psys(), pointdensitytex(), pose_bone_do_paste(), pose_grab_with_ik_add(), poseAnim_mapping_reset(), precache_init_parts(), precalc_guides(), 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_paint_face_init(), project_paint_PickFace(), project_renderdata(), project_short(), project_short_noclip(), psys_cache_edit_paths(), psys_face_mat(), psys_get_birth_coordinates(), psys_get_dupli_path_transform(), psys_get_from_key(), psys_get_particle_on_path(), psys_get_texture(), psys_interpolate_face(), psys_make_billboard(), psys_mat_hair_to_object(), psys_mat_hair_to_orco(), psys_particle_on_dm(), psys_particle_on_emitter(), psys_particle_on_shape(), psys_render_projected_area(), psys_render_simplify_distribution(), psys_thread_create_path(), ptcache_cloth_interpolate(), ptcache_softbody_interpolate(), put_postprocessed_frame_to_cache(), Quaternion_mul(), ray_ao_qmc(), ray_ao_spheresamp(), ray_fadeout_endcolor(), ray_shadow(), ray_shadow_jitter(), ray_shadow_jittered_coords(), ray_shadow_qmc(), ray_trace(), ray_trace_shadow_rad(), ray_trace_shadow_tra(), rayface_from_coords(), RE_Database_Baking(), RE_Database_FromScene(), RE_inithalo(), RE_inithalo_particle(), RE_make_sticky(), RE_rayobject_blibvh_intersect(), RE_rayobject_instance_intersect(), RE_rayobject_octree_intersect(), RE_sample_material_color(), RE_vlakren_copy(), RE_vlakren_get_normal(), recalc_editnormals(), recalc_emitter_field(), recalcData_view3d(), reference_to_scratch(), reflect_v3_v3v3(), refraction(), rekey_particle(), rekey_particle_to_time(), remove_doubles_exec(), remove_tagged_keys(), render_lighting_halo(), render_new_particle_system(), repositionBone(), repositionControl(), Resize(), ResizeBetween(), resizelattice(), restore_localviewdata(), restoreElement(), RIG_addControlBone(), RIG_addEdgeToArc(), RIG_appendEdgeToArc(), RIG_parentControl(), RIG_removeUneededOffsets(), rollBoneByQuat(), rollBoneByQuatAligned(), rollBoneByQuatJoint(), Rotation(), RotationBetween(), rotlike_evaluate(), rotlimit_evaluate(), rtbuild_add(), rtbuild_heuristic_object_split(), rule_average_speed(), rule_avoid_collision(), rule_fight(), rule_follow_leader(), rule_goal_avoid(), AnimationExporter::sample_animation(), sample_occ(), sample_occ_cache(), sample_occ_tree(), save_hair(), sb_deflect_face(), sb_detect_aabb_collisionCached(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), SB_estimate_transform(), scatter_tree_new(), scatter_tree_sample(), 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(), sculpt_vertcos_to_key(), SeqSlide(), SeqToTransData(), set_3dcursor_invoke(), set_axis(), set_floor_exec(), set_origin_exec(), setBoneRollFromNormal(), setNearestAxis3d(), SetTSpace(), setup_stack(), setviewmatrixview3d(), shade_input_calc_viewco(), shade_input_do_shade(), shade_input_set_normals(), shade_input_set_shade_texco(), shade_input_set_strand(), shade_input_set_strand_texco(), shade_input_set_triangle_i(), shade_input_set_uv(), shade_input_set_vertex_normals(), shade_intersection(), shade_lamp_loop(), shade_one_light(), shade_ray(), shade_sample_sss(), shade_volume_shadow(), shadeSkyPixel(), shadeSkyView(), shadowbuf_autoclip(), shadowbuf_project_co(), ShrinkFatten(), shrinkwrap_calc_nearest_surface_point(), shrinkwrap_calc_nearest_vertex(), shrinkwrap_calc_normal_projection(), shrinkwrap_evaluate(), shrinkwrap_get_tarmat(), SimpleDeformModifier_do(), sk_addStrokeSnapPoint(), sk_applyCutGesture(), sk_applyTrimGesture(), sk_convertStroke(), sk_drawStroke(), sk_flattenStroke(), sk_getStrokePoint(), sk_getStrokeSnapPoint(), sk_pointToNode(), sk_projectDrawPoint(), sk_straightenStroke(), sk_strokeToArc(), smooth_view(), snap_curs_to_active(), snap_curs_to_sel(), snap_sel_to_curs(), snap_sel_to_grid(), snapArmature(), snapDerivedMesh(), snapEdge(), snapVertex(), softbody_apply_forces(), softbody_apply_goalsnap(), softbody_calc_forces(), softbody_reset(), softbody_restore_prev_step(), softbody_to_object(), softbody_update_positions(), solve_parenting(), special_transvert_update(), speedvector_project(), sph_force_cb(), sphere_do(), spin_invoke(), splineik_evaluate_bone(), spotvolume(), springs_from_mesh(), stabilization_auto_scale_factor(), static_particle_strand(), static_particle_wire(), strand_eval_point(), strand_minmax(), stretchto_evaluate(), stucci(), subdivide_particle(), subdividenurb(), sum_or_add_vertex_tangent(), surfaceGenerateGrid(), target_callback(), TargetSnapActive(), TargetSnapCenter(), TargetSnapClosest(), test_clipping(), testAxialSymmetry(), testRadialSymmetry(), tex_space_mesh(), texture_procedural(), texture_rgb_blend(), trace_reflect(), trace_refract(), traceray(), track_colors(), track_copy_color_exec(), Trackball(), tracking_segment_start_cb(), transform_armature_mirror_update(), transform_evaluate(), AnimationImporter::translate_animation_OLD(), Translation(), TransMat3ToSize(), typecheck_compbuf(), ui_apply_button(), ui_block_func_COL(), ui_blockopen_begin(), ui_draw_but_HSVCIRCLE(), ui_draw_gradient(), ui_get_but_vectorf(), ui_handle_button_return_submenu(), ui_ndofedit_but_HSVCUBE(), ui_numedit_begin(), ui_numedit_but_HSVCIRCLE(), ui_numedit_but_HSVCUBE(), ui_set_but_vectorf(), ui_update_block_buts_rgb(), uiBlockPicker(), undoMesh_to_editMesh(), update_world_cos(), BL_SkinDeformer::UpdateInternal(), uvprojectModifier_do(), UVsToTransData(), v3d_posearmature_buts(), vcloud_estimate_transform(), vec_apply_track(), vectomat(), Vector_mul(), vertcos_to_key(), vertex_dupli__mapFunc(), VertsToTransData(), view3d_align_axis_to_vector(), view3d_boxview_copy(), view3d_cached_text_draw_add(), view3d_camera_to_view_selected_exec(), view3d_main_area_draw_objects(), view3d_project_short_clip(), view3d_project_short_clip_persmat(), view3d_project_short_noclip(), view3d_smoothview_invoke(), view3d_split_250(), view3d_zoom_border_exec(), view_zoom_mouseloc(), viewdolly_exec(), viewops_data_create(), vieworbit_exec(), viewpixel_to_lampbuf(), viewrotate_apply(), vol_get_bounds(), vol_get_emission(), vol_get_reflection_color(), vol_get_shadow(), vol_precache_part(), vol_shade_one_lamp(), vol_trace_behind(), volume_trace(), voxeldatatex(), Warp(), warpModifier_do(), where_is_armature_bone(), where_is_ik_bone(), where_is_pose(), where_is_pose_bone(), where_is_pose_bone_tail(), write_node_socket(), zbuf_part_project(), zbuf_render_project(), zbuffer_abuf(), zbufline(), zbufline_onlyZ(), and zbuflineAc().

MINLINE void copy_v3_v3_char ( char  r[3],
const char  a[3] 
)
MINLINE void copy_v3_v3_int ( int  r[3],
const int  a[3] 
)

Definition at line 131 of file math_vector_inline.c.

Referenced by init_frame_smoke(), and precache_init_parts().

MINLINE void copy_v3_v3_short ( short  r[3],
const short  a[3] 
)
MINLINE void copy_v4_v4 ( float  r[4],
const float  a[4] 
)
MINLINE void copy_v4_v4_char ( char  r[4],
const char  a[4] 
)
MINLINE void copy_v4_v4_int ( int  r[4],
const int  a[4] 
)

Definition at line 138 of file math_vector_inline.c.

MINLINE void copy_v4_v4_short ( short  r[4],
const short  a[4] 
)

Definition at line 116 of file math_vector_inline.c.

MINLINE float cross_v2v2 ( const float  a[2],
const float  b[2] 
)

Definition at line 407 of file math_vector_inline.c.

Referenced by mdisp_pt_in_crn(), and stabilization_auto_scale_factor().

MINLINE void cross_v3_v3v3 ( float  r[3],
const float  a[3],
const float  b[3] 
)

Definition at line 412 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(), DM_calc_auto_bump_scale(), 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(), 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_plane_plane_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(), set_axis(), set_floor_exec(), shade_input_set_strand(), shade_one_light(), sk_drawEdge(), sk_drawNormal(), splineik_evaluate_bone(), spotvolume(), static_particle_strand(), strand_eval_point(), stretchto_evaluate(), surface_determineForceTargetPoints(), 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] 
)
MINLINE float dot_v3v3 ( const float  a[3],
const float  b[3] 
)

Definition at line 402 of file math_vector_inline.c.

Referenced by _scan_for_ext_spring_forces(), accumulate_vertex_normals(), add_norm_if(), add_normal_aligned(), alter_co(), angle_normalized_v3v3(), apply_heights_callback(), applyAxisConstraintRot(), applyObjectConstraintRot(), applyTranslation(), area_lamp_energy_multisample(), arrayModifier_doArray(), AtmospherePixleShader(), axisProjection(), basic_rotate(), BLI_bvhtree_find_nearest(), BLI_bvhtree_ray_cast(), 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(), cache_occ_samples(), calc_vp_alpha_dl(), calcArcCorrelation(), calchandleNurb(), CalcSnapGeometry(), camera_view_frame_fit_to_scene(), choose_winner(), clip_line_plane(), closest_to_line_v3(), closest_to_plane_v3(), collision_point_distance_with_normal(), collision_point_on_surface(), collision_response(), collision_sphere_to_edges(), collision_sphere_to_tri(), convex(), costAngle(), costDistance(), cotan_weight(), create_kdop_hull(), createSpaceNormal(), damptrack_evaluate(), DM_calc_auto_bump_scale(), do_guides(), do_kink(), do_material_tex(), do_texture_effector(), draw_rotation_guide(), draw_volume(), dupli_extrude_cursor(), ED_rollBoneToVector(), effector_falloff(), ff_normalize(), ff_quad_form_factor(), ff_visible_quad(), filterSmartReebGraph(), flagAxialSymmetry(), frontface(), heat_source_distance(), 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(), lamp_get_visibility(), len_squared_v3v3(), len_v3(), line_point_factor_v3(), M_Geometry_intersect_ray_tri(), mean_value_half_tan(), meshdeform_intersect(), meshdeform_tri_intersect(), moveCloserToDistanceFromPlane(), nearest_point_in_tri_surface(), nextLengthSubdivision(), node_composit_exec_normal(), normal_projection_project_vertex(), normalize_v3_v3(), normalizef(), nr_signed_distance_to_plane(), ntap_bump_compute(), occ_build_dco(), occ_lookup(), occ_quad_form_factor(), occ_solid_angle(), occ_visible_quad(), 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(), reflection(), reflection_simple(), RIG_parentControl(), rollBoneByQuatAligned(), rotate(), RotationBetween(), rule_avoid_collision(), rule_fight(), rule_follow_leader(), sample_occ(), sample_occ_cache(), sb_detect_edge_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), sb_spring_force(), sculpt_search_sphere_cb(), set_phong_threshold(), shade_input_set_normals(), shade_input_set_strand(), shade_lamp_loop_only_shadow(), shade_one_light(), shrinkwrap_calc_normal_projection(), similar_face_select__internal(), sk_applyTrimGesture(), sk_distanceDepth(), snapEdge(), snapVertex(), sph_force_cb(), splineik_evaluate_bone(), static_particle_strand(), surface_determineForceTargetPoints(), tag_and_count_extra_edges(), test_clipping(), testRadialSymmetry(), traverse_octree(), uvprojectModifier_do(), v3_dist_from_plane(), validSnappingNormal(), vec_roll_to_mat3(), vgroup_fix(), view3d_align_axis_to_vector(), viewAxisCorrectCenter(), and vol_get_phasefunc().

MINLINE int equals_v2v2 ( const float  v1[2],
const float  v2[2] 
)
MINLINE int equals_v3v3 ( const float  v1[3],
const float  v2[3] 
)
MINLINE int equals_v4v4 ( const float  v1[4],
const float  v2[4] 
)

Definition at line 559 of file math_vector_inline.c.

Referenced by smooth_view().

MINLINE int is_one_v3 ( const float  v[3])

Definition at line 544 of file math_vector_inline.c.

Referenced by init_tex_mapping().

MINLINE int is_zero_v3 ( const float  v[3])
MINLINE int is_zero_v4 ( const float  v[4])

Definition at line 539 of file math_vector_inline.c.

Referenced by do_versions().

MINLINE float len_squared_v2v2 ( const float  a[3],
const float  b[3] 
)
MINLINE float len_squared_v3v3 ( const float  a[3],
const float  b[3] 
)
MINLINE float len_v2 ( const float  v[2])
MINLINE float len_v2v2 ( const float  v1[2],
const float  v2[2] 
)
MINLINE float len_v3 ( const float  a[3])

Definition at line 446 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(), calc_vp_alpha_dl(), calcArcCorrelation(), calchandleNurb(), camera_view_frame_fit_to_scene(), collision_detect(), connectivity_edge(), convert_pose(), convert_tree(), cotan_weight(), curvemap_make_table(), distribute_simple_children(), DM_calc_auto_bump_scale(), do_grab_brush(), do_guides(), do_path_effectors(), do_set_scale(), do_snake_hook_brush(), do_versions(), draw_ebones(), draw_manipulator_rotate(), draw_new_particle_system(), draw_particle(), draw_pose_bones(), drawcamera(), dynamicPaint_generateBakeData(), dynamicPaint_paintMesh(), dynamicPaint_paintParticles(), dynamicPaint_paintSinglePoint(), dynamicPaint_prepareEffectStep(), dynamicPaint_prepareNeighbourData(), effector_falloff(), execute_posetree(), finalizeControl(), followtrack_evaluate(), 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(), sph_particle_courant(), sphere_do(), splineik_evaluate_bone(), static_particle_strand(), strand_eval_point(), uiTemplateColorWheel(), update_courant_num(), 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 459 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_build_springs(), cloth_calc_helper_forces(), convert_pose(), convert_to_triface(), curvemap_make_table(), dist_to_line_segment_v3(), distlimit_evaluate(), doEdgeSlide(), draw_em_measure_stats(), draw_new_particle_system(), draw_sphere_bone_dist(), draw_sphere_bone_wire(), dvar_eval_locDiff(), dynamicPaint_paintSinglePoint(), ED_armature_from_edit(), edgetag_cut_cost(), EM_face_perimeter(), EM_mesh_copy_edge(), equalize_bezier(), esubdivideflag(), ExtendArcBuckets(), filterSmartReebGraph(), finalizeControl(), get_ob2ob_distance(), get_vert2ob_distance(), getVerticalAndHorizontalChange(), 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(), recalcData_view3d(), 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_v2fl ( float  r[2],
const float  a[2],
float  f 
)
MINLINE void madd_v2_v2v2fl ( float  r[2],
const float  a[2],
const float  b[2],
float  f 
)

Definition at line 320 of file math_vector_inline.c.

Referenced by calchandle_curvemap(), face_duplilist(), and isect_line_sphere_v2().

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] 
)

Definition at line 313 of file math_vector_inline.c.

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] 
)

Definition at line 333 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 340 of file math_vector_inline.c.

Referenced by calculate_speedvectors().

MINLINE void mul_v2_fl ( float  r[2],
float  f 
)
MINLINE void mul_v2_v2 ( float  r[2],
const float  a[2] 
)

Definition at line 279 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 259 of file math_vector_inline.c.

Referenced by clip_draw_main(), mdisp_flip_disp(), and normalize_v2_v2().

MINLINE void mul_v3_fl ( float  r[3],
float  f 
)

Definition at line 265 of file math_vector_inline.c.

Referenced by _scan_for_ext_spring_forces(), _softbody_calc_forces_slice_in_a_thread(), actcon_get_tarmat(), alter_co(), apply_tangmat_callback(), applyModifier(), applyTranslation(), armature_deform_verts(), atm_tile(), axisProjection(), b_bone_spline_setup(), bake_shade(), basic_force_cb(), basic_integrate(), basic_rotate(), BKE_text_to_curve(), BLI_mirrorAlongAxis(), 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(), calchandleNurb(), CalcSnapGeometry(), calculateCenterBound(), calculateCenterMedian(), camera_view_frame_fit_to_scene(), 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_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_set_scale(), do_snake_hook_brush(), 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(), dynamicPaint_brushMeshCalculateVelocity(), dynamicPaint_brushObjectCalculateVelocity(), dynamicPaint_generateBakeData(), dynamicPaint_paintMesh(), dynamicPaint_paintParticles(), dynamicPaint_paintSinglePoint(), dynamicPaint_prepareEffectStep(), dynamicPaint_prepareNeighbourData(), 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(), filterSmartReebGraph(), flush_pixel(), flyApply(), flyApply_ndof(), followpath_evaluate(), get_effector_data(), getSingleCoordinate(), 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(), lamp_get_visibility(), 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(), 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(), 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(), set_origin_exec(), setNearestAxis3d(), shade_input_do_shade(), shade_input_set_shade_texco(), 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_ndofedit_but_HSVCIRCLE(), 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] 
)
MINLINE void mul_v3_v3fl ( float  r[3],
const float  a[3],
float  f 
)
MINLINE void mul_v3_v3v3 ( float  r[3],
const float  v1[3],
const float  v2[3] 
)
MINLINE void mul_v4_fl ( float  r[4],
float  f 
)

Definition at line 292 of file math_vector_inline.c.

MINLINE void negate_v2 ( float  r[3])

Definition at line 355 of file math_vector_inline.c.

MINLINE void negate_v2_v2 ( float  r[2],
const float  a[2] 
)

Definition at line 361 of file math_vector_inline.c.

Referenced by BKE_tracking_add_track(), and flushTransTracking().

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])

Definition at line 381 of file math_vector_inline.c.

Referenced by pose_flip_quats_exec().

MINLINE void negate_v4_v4 ( float  r[4],
const float  a[4] 
)

Definition at line 389 of file math_vector_inline.c.

MINLINE void normal_float_to_short_v3 ( short  out[3],
const float  in[3] 
)
MINLINE void normal_short_to_float_v3 ( float  out[3],
const short  in[3] 
)
MINLINE float normalize_v2 ( float  n[2])
MINLINE float normalize_v2_v2 ( float  r[2],
const float  a[2] 
)

Definition at line 475 of file math_vector_inline.c.

References simple_enum_gen::d, dot_v2v2(), credits_svn_gen::e, mul_v2_v2fl(), sqrtf, and zero_v2().

Referenced by normalize_v2().

MINLINE float normalize_v3 ( float  n[3])

Definition at line 513 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(), calculateCenter(), camera_view_frame_fit_to_scene(), 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(), dynamicPaint_applySurfaceDisplace(), dynamicPaint_generateBakeData(), dynamicPaint_paintMesh(), 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(), 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_plane_plane(), 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(), recalcData_view3d(), 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_axis(), set_floor_exec(), 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(), stretchto_evaluate(), subdivide_edge_addvert(), surface_determineForceTargetPoints(), Toon_Spec(), ToSphere(), trace_reflect(), trace_refract(), Trackball(), TransMat3ToSize(), tri_to_quat(), triatomat(), ui_get_but_vectorf(), ui_ndofedit_but_HSVCIRCLE(), 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(), vgroup_fix(), 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] 
)
MINLINE void star_m3_v3 ( float  rmat[][3],
float  a[3] 
)

Definition at line 419 of file math_vector_inline.c.

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] 
)

Definition at line 229 of file math_vector_inline.c.

Referenced by _scan_for_ext_spring_forces(), _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_lamp_energy_multisample(), area_quad_v3(), area_tri_v3(), armature_calc_roll_exec(), armature_click_extrude_exec(), armature_fill_bones_exec(), axisProjection(), b_bone_spline_setup(), basic_integrate(), bisect_v3_v3v3v3(), blend_from_shape_exec(), BLI_mirrorAlongAxis(), BME_bevel_get_vec(), BME_bevel_split_edge(), boid_body(), boid_climb(), boid_find_ground(), boid_goal_signed_dist(), bone_align_to_bone(), bone_connect_to_new_parent(), brush_add(), brush_length(), brush_puff(), brush_smooth_do(), brush_smooth_get(), cache_key_incremental_rotation(), calc_curvepath(), calc_shapeKeys(), calcArcCorrelation(), calcCostAngleLengthDistance(), calchandleNurb(), CalcSnapGeometry(), calculateCenterCursor(), camera_view_frame_fit_to_scene(), check_non_flat_quads(), clampto_evaluate(), clip_line_plane(), closest_to_line_v3(), closest_to_plane_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(), connect_hair(), connectivity_edge(), convex(), costDistance(), cotan_weight(), createSlideVerts(), createTransArmatureVerts(), cuboid_do(), curvemap_make_table(), damptrack_evaluate(), deformVerts(), distfactor_to_bone(), distPointToSegmentSq(), distribute_grid(), DM_calc_auto_bump_scale(), do_clay_brush(), do_clay_tubes_brush(), do_crease_brush(), do_fill_brush(), do_flatten_brush(), do_hair_dynamics(), 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_uvs_stretch(), draw_volume(), draw_xyz_wire(), drawLine(), DS_energy(), dynamicPaint_brushMeshCalculateVelocity(), dynamicPaint_brushObjectCalculateVelocity(), dynamicPaint_generateBakeData(), dynamicPaint_paintMesh(), dynamicPaint_paintSinglePoint(), dynamicPaint_prepareNeighbourData(), ED_armature_apply_transform(), 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(), followtrack_evaluate(), 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(), lamp_get_visibility(), len_squared_v3v3(), len_v3v3(), line_point_factor_v3(), load_editMesh(), 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(), nearest_point_in_tri_surface(), new_particle_duplilist(), nextAdaptativeSubdivision(), nextLengthSubdivision(), nr_distance_to_edge(), nr_signed_distance_to_plane(), object_hook_recenter_exec(), occ_build_dco(), occ_lookup(), occ_quad_form_factor(), p_chart_pin_positions(), parent_set_exec(), particle_billboard(), pdDoEffectors(), 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(), precalc_guides(), precalculate_effector(), project_paint_begin(), psys_cache_edit_paths(), psys_get_birth_coordinates(), psys_get_dupli_path_transform(), psys_get_particle_on_path(), psys_interpolate_face(), psys_interpolate_particle(), psys_make_billboard(), psys_thread_create_path(), ptcache_particle_interpolate(), ptcache_particle_read(), PushPull(), ray_shadow(), ray_shadow_qmc(), ray_trace(), RE_inithalo(), RE_inithalo_particle(), recalcData_view3d(), render_new_particle_system(), repositionBone(), repositionControl(), ResizeBetween(), RIG_calculateEdgeAngles(), RIG_parentControl(), rollBoneByQuatAligned(), rollBoneByQuatJoint(), RotationBetween(), rule_avoid_collision(), rule_fight(), rule_follow_leader(), rule_goal_avoid(), rule_separate(), sample_occ_cache(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), sb_spring_force(), scale_quad(), scale_tri(), sculpt_flush_pbvhvert_deform(), sculpt_search_sphere_cb(), sculpt_stroke_get_location(), sculpt_update_brush_delta(), sculpt_vertcos_to_key(), set_prop_dist(), setNearestAxis3d(), shade_lamp_loop(), shade_ray(), 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_particle_courant(), sph_springs_modify(), splineik_evaluate_bone(), stabilization_auto_scale_factor(), static_particle_strand(), static_particle_wire(), strand_eval_point(), stretchto_evaluate(), surfaceGenerateGrid(), tangent_from_uv(), testAxialSymmetry(), ToSphere(), trackto_evaluate(), traverse_octree(), tri_to_quat(), triatomat(), update_courant_num(), update_velocities(), uv_cylinder_project(), uv_sphere_project(), v3_dist_from_plane(), v3d_editvertex_buts(), vcloud_estimate_transform(), vectomat(), vgroup_fix(), view3d_all_exec(), viewAxisCorrectCenter(), viewops_data_create(), viewrotate_apply(), viewselected_exec(), vol_get_precached_scattering(), vol_get_shadow(), where_is_armature_bone(), and where_on_path_deform().

MINLINE void sub_v4_v4 ( float  r[4],
const float  a[4] 
)

Definition at line 236 of file math_vector_inline.c.

MINLINE void sub_v4_v4v4 ( float  r[4],
const float  a[4],
const float  b[4] 
)

Definition at line 244 of file math_vector_inline.c.

MINLINE void swap_v2_v2 ( float  a[2],
float  b[2] 
)

Definition at line 146 of file math_vector_inline.c.

References SWAP.

MINLINE void swap_v3_v3 ( float  a[3],
float  b[3] 
)

Definition at line 152 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 159 of file math_vector_inline.c.

References SWAP.

MINLINE void zero_v2 ( float  r[2])
MINLINE void zero_v3 ( float  r[3])

Definition at line 44 of file math_vector_inline.c.

Referenced by apply_armature_pose2bones_exec(), apply_objects_internal(), applyModifier(), bake_shade(), basic_integrate(), BKE_mesh_validate_arrays(), BlenderWorldInfo::BlenderWorldInfo(), BME_bevel_get_vec(), boundbox_displist(), calc_area_normal(), calc_area_normal_and_flatten_center(), calc_flatten_center(), clip_line_plane(), Color_CreatePyObject(), constraint_mat_convertspace(), createRepresentation(), curve_center_median(), docenter_armature(), draw_sphere_bone_dist(), drawcamera(), drawfloor(), drawlamp(), ED_image_draw_info(), ED_object_rotation_from_view(), ED_uvedit_median(), ED_view3d_win_to_3d(), EM_make_hq_normals(), Euler_CreatePyObject(), Euler_zero(), followtrack_evaluate(), getSingleCoordinate(), gp_layer_to_curve(), init_render_curve(), integrate_particle(), layerInterp_mdisps(), layerInterp_shapekey(), mesh_center_median(), meshdeform_dynamic_bind(), meshdeformModifier_do(), multitex_nodes(), 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(), set_origin_exec(), softbody_reset(), tex_space_mesh(), vcloud_estimate_transform(), view3d_all_exec(), and vol_get_scattering().

MINLINE void zero_v4 ( float  r[4])