Blender  V3.3
Macros | Functions
math_vector_inline.c File Reference
#include "BLI_math.h"

Go to the source code of this file.

Macros

#define __MATH_VECTOR_INLINE_C__
 

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_v3fl_v3s (float r[3], const short a[3])
 
MINLINE void copy_v4_v4 (float r[4], const float a[4])
 
MINLINE void copy_v2_fl (float r[2], float f)
 
MINLINE void copy_v3_fl (float r[3], float f)
 
MINLINE void copy_v4_fl (float r[4], float f)
 
MINLINE void copy_v2_v2_uchar (unsigned char r[2], const unsigned char a[2])
 
MINLINE void copy_v3_v3_uchar (unsigned char r[3], const unsigned char a[3])
 
MINLINE void copy_v4_v4_uchar (unsigned char r[4], const unsigned char a[4])
 
MINLINE void copy_v2_uchar (unsigned char r[2], const unsigned char a)
 
MINLINE void copy_v3_uchar (unsigned char r[3], const unsigned char a)
 
MINLINE void copy_v4_uchar (unsigned char r[4], const unsigned char a)
 
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 zero_v2_int (int r[2])
 
MINLINE void zero_v3_int (int r[3])
 
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 zero_v3_db (double r[3])
 
MINLINE void copy_v2_v2_db (double r[2], const double a[2])
 
MINLINE void copy_v3_v3_db (double r[3], const double a[3])
 
MINLINE void copy_v4_v4_db (double r[4], const double a[4])
 
MINLINE void round_v2i_v2fl (int r[2], const float a[2])
 
MINLINE void copy_v2fl_v2i (float r[2], const int a[2])
 
MINLINE void copy_v2fl_v2db (float r[2], const double a[2])
 
MINLINE void copy_v3fl_v3db (float r[3], const double a[3])
 
MINLINE void copy_v4fl_v4db (float r[4], const double a[4])
 
MINLINE void copy_v2db_v2fl (double r[2], const float a[2])
 
MINLINE void copy_v3db_v3fl (double r[3], const float a[3])
 
MINLINE void copy_v4db_v4fl (double 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 swap_v2_v2_db (double a[2], double b[2])
 
MINLINE void swap_v3_v3_db (double a[3], double b[3])
 
MINLINE void swap_v4_v4_db (double a[4], double b[4])
 
MINLINE void copy_v2_fl2 (float v[2], float x, float y)
 
MINLINE void copy_v3_fl3 (float v[3], float x, float y, float z)
 
MINLINE void copy_v4_fl4 (float v[4], float x, float y, float z, float w)
 
MINLINE void add_v2_fl (float r[2], float f)
 
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_v2_db (double r[2], const double a[2])
 
MINLINE void add_v2_v2v2 (float r[2], const float a[2], const float b[2])
 
MINLINE void add_v2_v2_int (int r[2], const int a[2])
 
MINLINE void add_v2_v2v2_int (int r[2], const int a[2], const int b[2])
 
MINLINE void add_v3_v3 (float r[3], const float a[3])
 
MINLINE void add_v3_v3_db (double r[3], const double a[3])
 
MINLINE void add_v3_v3v3 (float r[3], const float a[3], const float b[3])
 
MINLINE void add_v3fl_v3fl_v3i (float r[3], const float a[3], const int b[3])
 
MINLINE void add_v4_v4 (float r[4], const float a[4])
 
MINLINE void add_v4_v4v4 (float r[4], const float a[4], const float b[4])
 
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_v2_v2v2_db (double r[2], const double a[2], const double b[2])
 
MINLINE void sub_v2_v2v2_int (int r[2], const int a[2], const int 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_v3_v3v3_int (int r[3], const int a[3], const int b[3])
 
MINLINE void sub_v3_v3v3_db (double r[3], const double a[3], const double b[3])
 
MINLINE void sub_v2db_v2fl_v2fl (double r[2], const float a[2], const float b[2])
 
MINLINE void sub_v3db_v3fl_v3fl (double 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_v3db_db (double r[3], double f)
 
MINLINE void mul_v3_v3fl (float r[3], const float a[3], float f)
 
MINLINE void mul_v3_v3db_db (double r[3], const double a[3], double 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 mul_v4_v4 (float r[4], const float a[4])
 
MINLINE void mul_v4_v4fl (float r[4], const float a[4], float f)
 
MINLINE void mul_v2_v2_cw (float r[2], const float mat[2], const float vec[2])
 
MINLINE void mul_v2_v2_ccw (float r[2], const float mat[2], const float vec[2])
 
MINLINE float mul_project_m4_v3_zfac (const float mat[4][4], const float co[3])
 
MINLINE float dot_m3_v3_row_x (const float M[3][3], const float a[3])
 
MINLINE float dot_m3_v3_row_y (const float M[3][3], const float a[3])
 
MINLINE float dot_m3_v3_row_z (const float M[3][3], const float a[3])
 
MINLINE float dot_m4_v3_row_x (const float M[4][4], const float a[3])
 
MINLINE float dot_m4_v3_row_y (const float M[4][4], const float a[3])
 
MINLINE float dot_m4_v3_row_z (const float M[4][4], const float a[3])
 
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_v3v3db_db (double r[3], const double a[3], const double b[3], double f)
 
MINLINE void madd_v3_v3v3v3 (float r[3], const float a[3], const float b[3], const float c[3])
 
MINLINE void madd_v3fl_v3fl_v3fl_v3i (float r[3], const float a[3], const float b[3], const int c[3])
 
MINLINE void madd_v4_v4fl (float r[4], const float a[4], float f)
 
MINLINE void madd_v4_v4v4 (float r[4], const float a[4], const float b[4])
 
MINLINE void mul_v3_v3v3 (float r[3], const float v1[3], const float v2[3])
 
MINLINE void mul_v2_v2v2 (float r[2], const float a[2], const float b[2])
 
MINLINE void negate_v2 (float r[2])
 
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 void negate_v3_short (short r[3])
 
MINLINE void negate_v3_db (double r[3])
 
MINLINE void invert_v2 (float r[2])
 
MINLINE void invert_v3 (float r[3])
 
MINLINE void invert_v3_safe (float r[3])
 
MINLINE void abs_v2 (float r[2])
 
MINLINE void abs_v2_v2 (float r[2], const float a[2])
 
MINLINE void abs_v3 (float r[3])
 
MINLINE void abs_v3_v3 (float r[3], const float a[3])
 
MINLINE void abs_v4 (float r[4])
 
MINLINE void abs_v4_v4 (float r[4], const float a[4])
 
MINLINE float dot_v2v2 (const float a[2], const float b[2])
 
MINLINE double dot_v2v2_db (const double a[2], const double b[2])
 
MINLINE float dot_v3v3 (const float a[3], const float b[3])
 
MINLINE float dot_v3v3v3 (const float p[3], const float a[3], const float b[3])
 
MINLINE float dot_v4v4 (const float a[4], const float b[4])
 
MINLINE double dot_v3db_v3fl (const double a[3], const float b[3])
 
MINLINE double dot_v3v3_db (const double a[3], const double b[3])
 
MINLINE float cross_v2v2 (const float a[2], const float b[2])
 
MINLINE double cross_v2v2_db (const double a[2], const double b[2])
 
MINLINE void cross_v3_v3v3 (float r[3], const float a[3], const float b[3])
 
MINLINE void cross_v3_v3v3_hi_prec (float r[3], const float a[3], const float b[3])
 
MINLINE void cross_v3_v3v3_db (double r[3], const double a[3], const double b[3])
 
MINLINE void add_newell_cross_v3_v3v3 (float n[3], const float v_prev[3], const float v_curr[3])
 
MINLINE void star_m3_v3 (float rmat[3][3], const float a[3])
 
MINLINE float len_squared_v2 (const float v[2])
 
MINLINE float len_squared_v3 (const float v[3])
 
MINLINE double len_squared_v3_db (const double v[3])
 
MINLINE float len_manhattan_v2 (const float v[2])
 
MINLINE int len_manhattan_v2_int (const int v[2])
 
MINLINE float len_manhattan_v3 (const float v[3])
 
MINLINE float len_v2 (const float v[2])
 
MINLINE double len_v2_db (const double v[2])
 
MINLINE float len_v2v2 (const float v1[2], const float v2[2])
 
MINLINE double len_v2v2_db (const double v1[2], const double v2[2])
 
MINLINE float len_v2v2_int (const int v1[2], const int v2[2])
 
MINLINE float len_v3 (const float a[3])
 
MINLINE double len_v3_db (const double a[3])
 
MINLINE float len_squared_v2v2 (const float a[2], const float b[2])
 
MINLINE double len_squared_v2v2_db (const double a[2], const double b[2])
 
MINLINE float len_squared_v3v3 (const float a[3], const float b[3])
 
MINLINE float len_squared_v4v4 (const float a[4], const float b[4])
 
MINLINE float len_manhattan_v2v2 (const float a[2], const float b[2])
 
MINLINE int len_manhattan_v2v2_int (const int a[2], const int b[2])
 
MINLINE float len_manhattan_v3v3 (const float a[3], const float b[3])
 
MINLINE float len_v3v3 (const float a[3], const float b[3])
 
MINLINE float len_v4 (const float a[4])
 
MINLINE float len_v4v4 (const float a[4], const float b[4])
 
MINLINE float normalize_v2_v2_length (float r[2], const float a[2], const float unit_length)
 
MINLINE float normalize_v2_v2 (float r[2], const float a[2])
 
MINLINE float normalize_v2 (float n[2])
 
MINLINE float normalize_v2_length (float n[2], const float unit_length)
 
MINLINE float normalize_v3_v3_length (float r[3], const float a[3], const float unit_length)
 
MINLINE float normalize_v3_v3 (float r[3], const float a[3])
 
MINLINE double normalize_v3_v3_length_db (double r[3], const double a[3], double const unit_length)
 
MINLINE double normalize_v3_v3_db (double r[3], const double a[3])
 
MINLINE double normalize_v3_length_db (double n[3], const double unit_length)
 
MINLINE double normalize_v3_db (double n[3])
 
MINLINE float normalize_v3_length (float n[3], const float unit_length)
 
MINLINE float normalize_v3 (float n[3])
 
MINLINE void normal_float_to_short_v2 (short out[2], const float in[2])
 
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 void normal_float_to_short_v4 (short out[4], const float in[4])
 
MINLINE bool is_zero_v2 (const float v[2])
 
MINLINE bool is_zero_v3 (const float v[3])
 
MINLINE bool is_zero_v4 (const float v[4])
 
MINLINE bool is_zero_v2_db (const double v[2])
 
MINLINE bool is_zero_v3_db (const double v[3])
 
MINLINE bool is_zero_v4_db (const double v[4])
 
MINLINE bool is_one_v3 (const float v[3])
 
MINLINE float line_point_side_v2 (const float l1[2], const float l2[2], const float pt[2])
 
Vector Comparison
Note
use value <= limit, so a limit of zero doesn't fail on an exact match.
MINLINE bool equals_v2v2 (const float v1[2], const float v2[2])
 
MINLINE bool equals_v3v3 (const float v1[3], const float v2[3])
 
MINLINE bool equals_v4v4 (const float v1[4], const float v2[4])
 
MINLINE bool equals_v2v2_int (const int v1[2], const int v2[2])
 
MINLINE bool equals_v3v3_int (const int v1[3], const int v2[3])
 
MINLINE bool equals_v4v4_int (const int v1[4], const int v2[4])
 
MINLINE bool compare_v2v2 (const float v1[2], const float v2[2], const float limit)
 
MINLINE bool compare_v3v3 (const float v1[3], const float v2[3], const float limit)
 
MINLINE bool compare_v4v4 (const float v1[4], const float v2[4], const float limit)
 
MINLINE bool compare_v2v2_relative (const float v1[2], const float v2[2], const float limit, const int max_ulps)
 
MINLINE bool compare_v3v3_relative (const float v1[3], const float v2[3], const float limit, const int max_ulps)
 
MINLINE bool compare_v4v4_relative (const float v1[4], const float v2[4], const float limit, const int max_ulps)
 
MINLINE bool compare_len_v3v3 (const float v1[3], const float v2[3], const float limit)
 
MINLINE bool compare_size_v3v3 (const float v1[3], const float v2[3], const float limit)
 
Vector Clamping
MINLINE void clamp_v2 (float vec[2], const float min, const float max)
 
MINLINE void clamp_v3 (float vec[3], const float min, const float max)
 
MINLINE void clamp_v4 (float vec[4], const float min, const float max)
 
MINLINE void clamp_v2_v2v2 (float vec[2], const float min[2], const float max[2])
 
MINLINE void clamp_v3_v3v3 (float vec[3], const float min[3], const float max[3])
 
MINLINE void clamp_v4_v4v4 (float vec[4], const float min[4], const float max[4])
 

Macro Definition Documentation

◆ __MATH_VECTOR_INLINE_C__

#define __MATH_VECTOR_INLINE_C__

Definition at line 9 of file math_vector_inline.c.

Function Documentation

◆ abs_v2()

MINLINE void abs_v2 ( float  r[2])

Definition at line 844 of file math_vector_inline.c.

References fabsf, and r.

◆ abs_v2_v2()

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

Definition at line 850 of file math_vector_inline.c.

References Freestyle::a, fabsf, and r.

◆ abs_v3()

MINLINE void abs_v3 ( float  r[3])

Definition at line 856 of file math_vector_inline.c.

References fabsf, and r.

Referenced by workbench_volume_object_cache_populate().

◆ abs_v3_v3()

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

Definition at line 863 of file math_vector_inline.c.

References Freestyle::a, fabsf, and r.

Referenced by generate_vert_coordinates().

◆ abs_v4()

MINLINE void abs_v4 ( float  r[4])

Definition at line 870 of file math_vector_inline.c.

References fabsf, and r.

◆ abs_v4_v4()

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

Definition at line 878 of file math_vector_inline.c.

References Freestyle::a, fabsf, and r.

◆ add_newell_cross_v3_v3v3()

MINLINE void add_newell_cross_v3_v3v3 ( float  n[3],
const float  v_prev[3],
const float  v_curr[3] 
)

◆ add_v2_fl()

MINLINE void add_v2_fl ( float  r[2],
float  f 
)

◆ add_v2_v2()

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

Definition at line 386 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by accumulate_marker(), blender::ed::space_node::add_reroute_do_socket_section(), annotation_stroke_arrow_calc_points(), bev_merge_edge_uvs(), bev_merge_uvs(), BKE_tracking_marker_get_subframe_position(), BKE_tracking_plane_track_add(), BM_face_splits_check_legal(), BM_face_uv_calc_center_median(), compensate_rotation_center(), createTransUVs(), do_projectpaint_soften(), do_projectpaint_soften_f(), do_vert_pair(), draw_distortion(), ED_uvedit_median_multi(), edbm_rip_edge_invoke(), edit_text_cache_populate_select(), EEVEE_temporal_sampling_matrices_calc(), generate_arc_from_point_to_point(), generate_perimeter_cap(), generate_semi_circle_from_point_to_point(), GEO_uv_parametrizer_average(), gpencil_calc_stroke_fill_uv(), gpencil_primitive_move(), gpencil_primitive_update_strokes(), gpencil_stroke_perimeter_ex(), grab_clone_apply(), HC_relaxation_iteration_uv(), kdtree2d_isect_tri(), laplacian_relaxation_iteration_uv(), layerAdd_mloop_origspace(), layerAdd_mloopuv(), mask_spline_feather_differentiated_points_with_resolution__double(), object_warp_transverts(), paint_stroke_sample_average(), paintcurve_slide_modal(), points_to_bezier(), blender::imbuf::transform::ScanlineProcessor< Discard, Sampler, OutputPixelPointer >::process(), rotate_around_center_v2(), seq_get_strip_pivot_median(), seq_image_transform_transparency_gained(), setup_pivot(), slide_marker_modal(), slide_marker_tilt_slider(), slide_point_modal(), stabilization_data_to_mat4(), stitch_calculate_island_snapping(), stitch_init(), stitch_process_data(), tracking_average_tracks(), ui_mouse_motion_towards_check(), ui_pie_handler(), uv_remove_doubles_to_selected(), uv_rip_pairs_calc_center_and_direction(), uv_snap_uvs_offset(), uv_snap_uvs_to_adjacent_unselected(), uvedit_center(), uvedit_translate(), v2_quad_corners_to_mat4(), v3d_editvertex_buts(), view3d_orbit_calc_center(), and wm_gesture_straightline_do_angle_snap().

◆ add_v2_v2_db()

MINLINE void add_v2_v2_db ( double  r[2],
const double  a[2] 
)

Definition at line 392 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by transform_input_update().

◆ add_v2_v2_int()

MINLINE void add_v2_v2_int ( int  r[2],
const int  a[2] 
)

Definition at line 404 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by calc_area_normal_and_center_reduce().

◆ add_v2_v2v2()

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

Definition at line 398 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and r.

Referenced by BKE_fcurve_bezt_subdivide_handles(), BKE_mask_calc_tangent_polyline(), BKE_mask_point_normal(), BKE_mask_point_set_handle(), BKE_maskrasterize_handle_init(), boid_brain(), blender::compositor::KeyingScreenOperation::build_voronoi_triangulation(), calculate_autoscale_factor(), draw_marker_areas(), draw_marker_outline(), draw_marker_slide_zones(), draw_spline_curve(), DRW_cache_lightprobe_grid_get(), flushTransNodes(), flushTransTracking(), getArrowEndPoint(), gpencil_add_arc_points(), gpencil_grid_cell_index_get(), gpencil_rotate_v2_v2v2fl(), gpencil_stroke_perimeter_ex(), handle_flatten(), handle_set_length(), knife_snap_angle_screen(), marker_block_handler(), marker_to_path_point(), mask_parent_set_exec(), maskrasterize_spline_differentiate_point_outset(), mesh_init_origspace(), mouse_to_closest_pattern_corner_distance_squared(), mouse_to_offset_distance_squared(), move_all_selected_points(), move_bezt_handle_or_vertex_by_displacement(), blender::ed::space_node::node_group_make_insert_selected(), p_chart_stretch_minimize(), paint_brush_stroke_add_step(), paintcurve_slide_modal(), sculpt_expand_move_propagation_origin(), search_pixel_to_marker_unified(), shell_v2v2_mid_normalized_to_dist(), slide_marker_modal(), slide_marker_tilt_slider_relative(), slide_point_modal(), slide_spline_curvature_modal(), stencil_control_calculate(), stitch_uv_rotate(), translation_contribution(), uiTemplateMarker(), uv_image_outset(), and wm_gesture_draw_line_active_side().

◆ add_v2_v2v2_int()

MINLINE void add_v2_v2v2_int ( int  r[2],
const int  a[2],
const int  b[2] 
)

◆ add_v3_fl()

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

◆ add_v3_v3()

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

Definition at line 416 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by _scan_for_ext_spring_forces(), _softbody_calc_forces_slice_in_a_thread(), accum_density(), adj_vmesh(), apply_raw_diff_v3(), apply_spring(), apply_tangmat_callback(), applyBoneSize(), applyFaceNearest(), applyFaceProject(), applyGridAbsolute(), applyResize(), applySkinResize(), applyTranslation(), applyTranslationMatrix(), armature_vert_task_with_dvert(), arrayModifier_doArray(), average_grid_element_value_v3(), average_with_other(), avg4(), bake_result_add_to_rgba(), bezier_handle_calc_length_v3(), BKE_curve_center_median(), BKE_curve_translate(), BKE_displist_normals_add(), BKE_effectors_apply(), BKE_gpencil_instance_modifier_instance_tfm(), BKE_gpencil_layer_transform_matrix_get(), BKE_gpencil_stroke_smooth_point(), BKE_gpencil_stroke_stretch(), BKE_keyblock_update_from_offset(), BKE_lattice_center_median(), BKE_lattice_translate(), BKE_lnor_space_custom_normal_to_data(), BKE_mball_center_median(), BKE_mball_translate(), BKE_mesh_calc_relative_deform(), BKE_mesh_center_median(), BKE_mesh_center_median_from_polys(), BKE_mesh_center_of_volume(), BKE_mesh_normals_loop_to_vertex(), BKE_mesh_remesh_voxel_fix_poles(), BKE_mesh_translate(), BKE_nurb_bpoint_calc_normal(), BKE_object_minmax(), BKE_pbvh_raycast_project_ray_root(), BKE_pose_where_is_bone(), BKE_subdiv_eval_final_point(), BM_edgeloop_calc_normal_aligned(), bm_edgering_pair_interpolate(), BM_face_calc_center_median(), bm_face_calc_poly_center_median_vertex_cos(), BM_mesh_edgeloops_calc_order(), bm_mesh_loops_assign_normal_data(), bm_to_mesh_shape(), bm_vert_boundary_tangent(), bm_vert_calc_surface_tangent(), bmesh_selected_verts_center_calc(), bmo_collapse_exec(), bmo_extrude_face_region_exec(), bmo_inset_region_exec(), bmo_triangle_fill_exec(), boid_body(), boid_brain(), boid_find_ground(), bone_connect_to_new_parent(), brush_add(), brush_comb(), brush_puff(), brush_smooth_do(), brush_smooth_get(), blender::compositor::KeyingScreenOperation::build_voronoi_triangulation(), blender::compositor::calc_area_luminance(), calc_area_normal_and_center_reduce(), calc_area_normal_and_center_task_cb(), calc_bbox(), calc_frame_center(), calc_local_y(), calc_multiplane_scrape_surface_reduce(), calc_multiplane_scrape_surface_task_cb(), calc_point_from_barycentric_extrusion(), calc_sculpt_plane(), calc_shapeKeys(), calc_solidify_normals(), calc_tangent_loop_accum(), calc_tw_center(), calculateCenterMedian(), camera_stereoscopy_extra(), clip_to_ortho_planes(), closest_on_tri_to_point_v3(), closest_point_on_surface(), cloth_brush_solve_collision(), cloth_bvh_objcollisions_resolve(), cloth_bvh_selfcollisions_resolve(), cloth_calc_average_acceleration(), cloth_calc_helper_forces(), cloth_filter_apply_forces_to_vertices(), cloth_get_grid_location(), collision_response(), compute_sss_translucence_kernel(), contarget_get_lattice_mat(), blender::compositor::ColorBalanceNode::convert_to_operations(), blender::compositor::convolve(), blender::nodes::node_geo_scale_elements_cc::create_single_axis_transform(), createFacepa(), createTransGPencil_center_get(), cubic_subdiv(), cuboid_do(), blender::geometry::customdata_weld(), cycle_offset_triple(), deflect_emitter_iter(), displaceModifier_do_task(), do_boundary_brush_bend_task_cb_ex(), do_boundary_brush_smooth_task_cb_ex(), do_boundary_brush_twist_task_cb_ex(), do_brush_action(), do_guides(), do_kink(), do_path_effectors(), do_physical_effector(), do_pose_brush_task_cb_ex(), do_rotate_brush_task_cb_ex(), do_snake_hook_brush_task_cb_ex(), do_texture_effector(), do_twist(), draw_frustum_bound_sphere_calc(), drawConstraint(), drawEdgeSlide(), drawVertSlide(), drw_shgroup_bone_axes(), DRW_text_edit_mesh_measure_stats(), dynamicPaint_paintMesh(), ED_armature_ebone_from_mat4(), ED_armature_origin_set(), ed_editcurve_addvert(), ed_editnurb_translate_flag(), ED_gpencil_drawing_reference_get(), ED_gpencil_project_point_to_plane(), ED_gpencil_project_stroke_to_plane(), ED_object_xform_array_m4(), ED_transverts_update_obedit(), ED_view3d_cursor_snap_draw_util(), ED_view3d_depth_read_cached_normal(), ED_view3d_minmax_verts(), ED_view3d_offset_distance(), edbm_average_normals_exec(), edbm_calc_loop_co(), edbm_dupli_extrude_cursor_invoke(), edbm_normals_tools_exec(), edbm_point_normals_modal(), edbm_smooth_normals_exec(), EEVEE_lightprobes_grid_data_from_object(), element_accumulator_add(), ElementMirror(), ElementResize(), ElementRotation_ex(), evaluate_vertex_and_apply_displacement_copy(), evaluate_vertex_and_apply_displacement_interpolate(), explodeMesh(), blender::draw::extract_fdots_pos_iter_poly_bm(), blender::draw::extract_fdots_pos_iter_poly_mesh(), extrude_vertices_from_selected_endpoints(), eyedropper_color_sample(), find_internal_spring_target_vertex(), fix_connected_bone(), flyApply(), frustum_min_bounding_sphere(), generate_vert_coordinates(), get_effector_data(), get_next_loop(), get_selected_center(), blender::ed::sculpt_paint::SlideOperationExecutor::get_slide_transform(), get_surrounding_color(), getSingleCoordinate(), getSnapPoint(), getTransformOrientation_ex(), give_parvert(), gizmo_mesh_spin_init_refresh(), gizmo_move_matrix_basis_get(), gpencil_brush_clone_add(), gpencil_brush_clone_adjust(), gpencil_brush_clone_init(), gpencil_brush_push_apply(), gpencil_brush_randomize_apply(), gpencil_grid_colors_calc(), gpencil_sbuffer_vertex_color_random(), gpencil_snap_to_cursor(), gpencil_snap_to_grid(), gpencil_stroke_center(), gpencil_stroke_points_centroid(), gpencil_uv_transform_init(), gpencil_vertexpaint_brush_do_frame(), grid_to_world(), heat_calc_vnormals(), idp_snap_calc_incremental(), imm_draw_cube_corners_3d(), blender::compositor::TonemapOperation::initialize_tile_data(), initLaplacianMatrix(), integrate_particle(), interp_barycentric_tri_v3(), interp_bilinear_quad_v3(), isect_sweeping_sphere_tri_v3(), iterate_lengths_iter(), knife_snap_angle_relative(), laplaciansmoothModifier_do(), make_selection_list_nurb(), make_unit_cube_map(), mdisp_in_mdispquad(), merge_target(), merge_vert_dir(), mesh_calc_hq_normal(), mesh_filter_sharpen_init(), mesh_filter_task_cb(), mesh_normals_loop_custom_set(), mesh_remove_doubles_on_axis(), meshdeform_vert_task(), mix_normals(), MOD_lineart_chain_offset_towards_camera(), MOD_solidify_extrude_modifyMesh(), MOD_solidify_nonmanifold_modifyMesh(), modifyMesh(), move_bezt_by_displacement(), multires_disp_run_cb(), multires_reshape_apply_base_refit_base_mesh(), nearest_world_tree(), neighbor_dirty_mask(), blender::nodes::node_geo_collection_info_cc::node_geo_exec(), normals_merge(), normals_split(), ob_parbone(), object_origin_set_exec(), object_transform_axis_target_calc_depth_init(), object_transform_axis_target_modal(), offset_child(), offset_meet(), OVERLAY_gpencil_cache_init(), p_face_stretch(), paint_brush_stroke_add_step(), paint_last_stroke_update(), particles_fluid_step(), pbvh_bmesh_collapse_edge(), point_normals_apply(), pointdensity_cache_vertex_color(), points_for_loose_edges_interpolation_get(), polygons_check_flip(), pose_brush_grow_factor_reduce(), pose_brush_grow_factor_task_cb_ex(), pose_face_sets_floodfill_cb(), pose_ik_chain_init_face_sets_fk(), pose_solve_ik_chain(), pose_topology_floodfill_cb(), prepare_for_decimate(), proj_paint_state_cavity_init(), proj_paint_state_viewport_init(), project_line_gesture_apply_task_cb(), project_paint_op(), psys_particle_on_dm(), psys_thread_create_path(), quad_verts_to_barycentric_tri(), RE_point_density_minmax(), recalc_emitter_field(), reference_to_scratch(), return_editcurve_indexar(), return_editlattice_indexar(), return_editmesh_indexar(), return_editmesh_vgroup(), rotateDifferentialCoordinates(), rotateflagNurb(), rotlike_evaluate(), rule_average_speed(), rule_flock(), rule_goal_avoid(), rule_separate(), sb_detect_vertex_collisionCached(), scale_point(), scale_tri(), SCULPT_bmesh_four_neighbor_average(), sculpt_boundary_twist_data_init(), SCULPT_calc_brush_plane(), sculpt_combine_proxies_task_cb(), SCULPT_cursor_geometry_info_update(), SCULPT_do_clay_brush(), SCULPT_do_clay_strips_brush(), SCULPT_do_clay_thumb_brush(), SCULPT_do_fill_brush(), SCULPT_do_flatten_brush(), SCULPT_do_multiplane_scrape_brush(), SCULPT_do_scrape_brush(), sculpt_expand_reposition_pivot(), sculpt_kelvinet_integrate(), sculpt_mask_expand_modal(), SCULPT_neighbor_coords_average(), SCULPT_neighbor_coords_average_interior(), sculpt_pose_do_rotate_deform(), sculpt_pose_do_scale_deform(), sculpt_pose_do_squash_stretch_deform(), sculpt_rake_rotate(), SCULPT_relax_vertex(), sculpt_set_pivot_position_exec(), SCULPT_stroke_get_location(), SCULPT_surface_smooth_displace_step(), sculpt_update_brush_delta(), set_origin_exec(), setNearestAxis3d(), shadow_cascade_random_matrix_set(), shadow_cube_random_position_set(), SIM_hair_volume_grid_velocity(), SIM_mass_spring_add_constraint_ndof1(), SIM_mass_spring_add_constraint_ndof2(), SIM_mass_spring_force_edge_wind(), SIM_mass_spring_force_extern(), SIM_mass_spring_force_face_extern(), SIM_mass_spring_force_gravity(), SIM_mass_spring_force_reference_frame(), SIM_mass_spring_force_spring_angular(), SIM_mass_spring_force_spring_bending_hair(), SIM_mass_spring_force_spring_goal(), SIM_mass_spring_force_vertex_wind(), simpleDeform_stretch(), simpleDeform_taper(), simpleDeform_twist(), sizelike_evaluate(), skin_smooth_hulls(), smart_uv_project_calculate_project_normals(), smoothModifier_do(), snap_curs_to_sel_ex(), snap_sel_to_grid_exec(), snap_selected_to_location(), snap_target_median_impl(), softbody_apply_forces(), sph_particle_courant(), sphere_do(), spring_hairbend_forces(), stroke_elem_project(), studiolight_matcap_preview(), subdiv_accumulate_vertex_displacement(), subdiv_ccg_average_inner_face_normals(), subdiv_mesh_vertex_corner(), subsurf_calculate_limit_positions(), tonemapmodifier_apply(), transdata_elem_bend(), transdata_elem_shear(), transdata_elem_to_sphere(), transdata_elem_translate(), transform_convert_mesh_islands_calc(), transform_convert_mesh_mirrordata_calc(), transform_evaluate(), blender::nodes::translate_instances(), txt_add_object(), blender::compositor::ConvolutionEdgeFilterOperation::update_memory_buffer_partial(), blender::compositor::TonemapOperation::update_memory_buffer_started(), uv_map_transform_calc_center_median(), v3d_cursor_snap_calc_incremental(), v3d_editvertex_buts(), vcloud_estimate_transform_v3(), view3d_orbit_apply_dyn_ofs(), view3d_orbit_calc_center(), vmesh_center(), voronoi_addTriangulationPoint(), walk_floor_distance_get(), walkApply(), walkEvent(), wm_xr_navigation_reset_exec(), wm_xr_navigation_teleport(), and wm_xr_session_controller_data_update().

◆ add_v3_v3_db()

MINLINE void add_v3_v3_db ( double  r[3],
const double  a[3] 
)

Definition at line 423 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by lineart_main_cull_triangles().

◆ add_v3_v3v3()

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

Definition at line 430 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and r.

Referenced by _scan_for_ext_spring_forces(), _softbody_calc_forces_slice_in_a_thread(), add_fmatrix_fmatrix(), add_lfvector_lfvector(), alter_co(), apply_lengths_iter(), apply_objects_internal(), armature_bone_primitive_add_exec(), armature_calc_roll_exec(), armature_vert_task_with_dvert(), assign_final_coords_from_mdisps(), assign_final_elements_from_orig_mdisps(), avg4(), axisProjection(), bevel_harden_normals(), bevel_vert_construct(), bezier_output_handle_inner(), bindVert(), bisect_v3_v3v3v3(), BKE_effectors_apply(), BKE_gpencil_stroke_2d_flat_ref(), BKE_gpencil_stroke_stretch(), BKE_nurb_bezt_calc_normal(), BKE_nurb_bezt_calc_plane(), BKE_nurb_bpoint_calc_plane(), BKE_nurb_minmax(), BKE_object_to_mat4(), BKE_pchan_bbone_spline_compute(), BKE_pchan_bbone_spline_params_get(), BKE_pose_where_is_bone_tail(), blinn_specular(), bm_edge_calc_rotate_beauty__area(), BM_editselection_normal(), BM_face_calc_tangent_edge_pair(), BM_face_multires_bounds_smooth(), BM_loop_calc_face_direction(), BM_loop_calc_face_tangent(), bm_loop_flip_disp(), bm_vert_boundary_tangent(), bm_vert_calc_surface_tangent(), bm_vert_pair_to_matrix(), BMBVH_EdgeVisible(), bmo_face_inset_individual(), bmo_inset_region_exec(), bmo_smooth_vert_exec(), boid_body(), boid_climb(), boid_find_ground(), bone_align_to_bone(), bridge_loop_pair(), brush_add(), brush_length(), calc_area_normal_and_center_task_cb(), calc_bbox(), calc_curve_deform(), calc_frame_center(), calc_solidify_normals(), calc_tangent_loop_accum(), calculate_profile_segments(), camera_frame_fit_calc_from_data(), check_path_length(), cloth_bvh_collision(), cloth_filter_apply_displacement_to_deform_co(), collision_response(), create_frame(), createFacepa(), cubic_subdiv(), curvemap_make_table(), deformStroke(), dist_squared_to_ray_v3_normalized(), do_cloth_brush_apply_forces_task_cb_ex(), do_clump(), do_crease_brush_task_cb_ex(), do_displacement_smear_brush_task_cb_ex(), do_kink(), do_kink_spiral_deform(), do_layer_brush_task_cb_ex(), do_physical_effector(), do_pinch_brush_task_cb_ex(), do_pose_brush_task_cb_ex(), do_version_bone_head_tail_237(), doEdgeSlide(), drawEdgeSlide(), drawLine(), drw_shgroup_bone_stick(), drw_shgroup_bone_wire(), duplicateStroke(), ebone_spline_preview(), ed_editcurve_addvert(), ED_gpencil_project_point_to_plane(), ED_gpencil_project_stroke_to_plane(), ED_view3d_cursor_snap_draw_util(), edge_slide_pair_project(), edge_slide_snap_apply(), EEVEE_shadows_caster_register(), ElementMirror(), ElementResize(), ElementRotation_ex(), evaluate_final_original_point(), evaluate_higher_grid_positions_with_details_callback(), extrapolate_points_by_length(), frustum_min_bounding_sphere(), get_effector_data(), getTransformOrientation_ex(), gizmo_move_modal(), gpencil_brush_grab_apply_cached(), gpencil_brush_pinch_apply(), gpencil_brush_twist_apply(), gpencil_generate_edgeloops(), gpencil_stroke_editcurve_generate_edgecases(), hair_create_input_mesh(), initMouseInput(), integrate_particle(), interp_slerp_co_no_v3(), isect_line_line_epsilon_v3(), isect_line_line_strict_v3(), iterate_lengths_iter(), knife_find_closest_face(), layerCopyValue_normal(), M_Geometry_intersect_ray_tri(), make_duplis_particle_system(), make_unit_square_map(), mask_calc_point_handle(), mesh_calc_hq_normal(), mesh_edges_spherecast(), mesh_filter_task_cb(), mesh_verts_spherecast_do(), mid_v3_v3v3_angle_weighted(), move_bezt_handle_or_vertex_by_displacement(), move_segment(), mul_m4_m4m4_split_channels(), multires_disp_run_cb(), multires_reshape_apply_base_update_mesh_coords(), object_transform_axis_target_calc_depth_init(), offset_meet(), old_mdisps_bilinear(), paint_line_strokes_spacing(), paint_space_stroke(), paintface_minmax(), particle_system_minmax(), particles_fluid_step(), pivotcon_evaluate(), planeProjection(), pose_solve_translate_chain(), project_brush_radius(), quad_edges_to_normal(), recalc_emitter_field(), remap_hair_emitter(), reshape_subdiv_refine_orig_P(), rule_avoid_collision(), scale_point_factor(), sculpt_boundary_displacement_from_grab_delta_get(), SCULPT_cloth_plane_falloff_preview_draw(), sculpt_detail_flood_fill_exec(), sculpt_flush_pbvhvert_deform(), sculpt_gesture_line_calculate_plane_points(), sculpt_kelvinet_integrate(), SCULPT_relax_vertex(), SCULPT_surface_smooth_laplacian_step(), sculpt_transform_task_cb(), set_handle_type_exec(), set_profile_params(), shadow_cascade_random_matrix_set(), shadow_cube_random_position_set(), shell_v3v3_mid_normalized_to_dist(), SIM_hair_volume_solve_divergence(), SIM_mass_spring_force_spring_angular(), snap_selected_to_location(), square_out_adj_vmesh(), studiolight_lights_eval(), subsurf_calculate_limit_positions(), transdata_elem_push_pull(), transdata_elem_shear(), transdata_elem_translate(), vert_slide_snap_apply(), view3d_interactive_add_begin(), view3d_zoom_border_exec(), view_zoom_to_window_xy_3d(), VoronoiVertexWeight::VoronoiVertexWeight(), voxel_size_parallel_lines_draw(), where_is_ik_bone(), and wm_xr_grab_compute_bimanual().

◆ add_v3fl_v3fl_v3i()

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

Definition at line 437 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), float(), and r.

◆ add_v4_fl()

MINLINE void add_v4_fl ( float  r[4],
float  f 
)

Definition at line 378 of file math_vector_inline.c.

References r.

◆ add_v4_v4()

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

◆ add_v4_v4v4()

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

Definition at line 452 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and r.

◆ clamp_v2()

MINLINE void clamp_v2 ( float  vec[2],
const float  min,
const float  max 
)

◆ clamp_v2_v2v2()

MINLINE void clamp_v2_v2v2 ( float  vec[2],
const float  min[2],
const float  max[2] 
)

Definition at line 1447 of file math_vector_inline.c.

References CLAMP, max, and min.

Referenced by blender::tests::TEST().

◆ clamp_v3()

MINLINE void clamp_v3 ( float  vec[3],
const float  min,
const float  max 
)

◆ clamp_v3_v3v3()

MINLINE void clamp_v3_v3v3 ( float  vec[3],
const float  min[3],
const float  max[3] 
)

Definition at line 1453 of file math_vector_inline.c.

References CLAMP, max, and min.

◆ clamp_v4()

MINLINE void clamp_v4 ( float  vec[4],
const float  min,
const float  max 
)

◆ clamp_v4_v4v4()

MINLINE void clamp_v4_v4v4 ( float  vec[4],
const float  min[4],
const float  max[4] 
)

Definition at line 1460 of file math_vector_inline.c.

References CLAMP, max, and min.

◆ compare_len_v3v3()

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

Definition at line 1397 of file math_vector_inline.c.

References dot_v3v3(), sub_v3_v3v3(), v1, and v2.

Referenced by apply_boid_rule(), arrayModifier_doArray(), and dm_mvert_map_doubles().

◆ compare_size_v3v3()

MINLINE bool compare_size_v3v3 ( const float  v1[3],
const float  v2[3],
const float  limit 
)

Definition at line 1404 of file math_vector_inline.c.

References fabsf, v1, and v2.

◆ compare_v2v2()

MINLINE bool compare_v2v2 ( const float  v1[2],
const float  v2[2],
const float  limit 
)

Definition at line 1350 of file math_vector_inline.c.

References compare_ff(), v1, and v2.

Referenced by BM_uv_element_map_create(), BM_uv_vert_map_create(), and testvertexnearedge().

◆ compare_v2v2_relative()

MINLINE bool compare_v2v2_relative ( const float  v1[2],
const float  v2[2],
const float  limit,
const int  max_ulps 
)

Definition at line 1367 of file math_vector_inline.c.

References compare_ff_relative(), v1, and v2.

◆ compare_v3v3()

MINLINE bool compare_v3v3 ( const float  v1[3],
const float  v2[3],
const float  limit 
)

◆ compare_v3v3_relative()

MINLINE bool compare_v3v3_relative ( const float  v1[3],
const float  v2[3],
const float  limit,
const int  max_ulps 
)

Definition at line 1376 of file math_vector_inline.c.

References compare_ff_relative(), v1, and v2.

◆ compare_v4v4()

MINLINE bool compare_v4v4 ( const float  v1[4],
const float  v2[4],
const float  limit 
)

◆ compare_v4v4_relative()

MINLINE bool compare_v4v4_relative ( const float  v1[4],
const float  v2[4],
const float  limit,
const int  max_ulps 
)

Definition at line 1386 of file math_vector_inline.c.

References compare_ff_relative(), v1, and v2.

◆ copy_v2_fl()

MINLINE void copy_v2_fl ( float  r[2],
float  f 
)

◆ copy_v2_fl2()

MINLINE void copy_v2_fl2 ( float  v[2],
float  x,
float  y 
)

◆ copy_v2_uchar()

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

Definition at line 108 of file math_vector_inline.c.

References Freestyle::a, and r.

◆ copy_v2_v2()

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

Definition at line 36 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by blender::ed::space_node::add_reroute_insert_socket_link(), annotation_add_missing_events(), annotation_draw_apply(), annotation_draw_stroke_buffer(), annotation_smooth_buffer(), annotation_stroke_addpoint(), annotation_stroke_arrow_calc_points(), annotation_stroke_arrow_init_point(), annotation_stroke_filtermval(), applySeqSlide(), applyTrackball(), blender::compositor::area_diag(), Bend(), bev_merge_edge_uvs(), bev_merge_uvs(), bezt_to_transdata(), BKE_curvemapping_premultiply(), BKE_curveprofile_move_handle(), BKE_fcurve_bezt_subdivide_handles(), BKE_gpencil_data_copy_settings(), BKE_gpencil_stroke_copy_settings(), BKE_gpencil_stroke_fill_triangulate(), BKE_gpencil_stroke_sample(), BKE_image_find_nearest_tile_with_offset(), BKE_image_get_tile_from_pos(), BKE_mask_point_direction_switch(), BKE_mask_point_handle(), BKE_mask_point_segment_co(), BKE_mask_point_segment_diff(), BKE_mask_point_set_handle(), BKE_mask_spline_differentiate_with_resolution(), BKE_mesh_calc_poly_uv_area(), BKE_mesh_uv_vert_map_create(), BKE_movieclip_get_stable_ibuf(), BKE_tracking_distortion_new(), BKE_tracking_distortion_update(), BKE_tracking_marker_get_subframe_position(), BKE_tracking_plane_marker_get_subframe_corners(), BKE_tracking_plane_track_add(), BKE_tracking_stabilize_frame(), BKE_tracking_track_add(), BLI_convexhull_aabb_fit_hull_2d(), BLI_convexhull_aabb_fit_points_2d(), BLI_dial_angle(), BLI_dial_init(), BLI_rng_get_float_unit_v2(), BLI_rng_get_tri_sample_float_v2(), BLI_voronoi_compute(), blo_do_versions_280(), blo_update_defaults_scene(), bm_corners_to_loops_ex(), bm_face_array_calc_unique_uv_coords(), bm_face_reverse_uvs(), BM_face_split_edgenet_connect_islands(), BM_face_uv_calc_center_median_weighted(), BM_face_uv_calc_cross(), BM_face_uv_point_inside_test(), BM_uv_element_map_create(), BM_uv_vert_map_create(), bmbvh_ray_cast_cb(), bmo_rotate_uvs_exec(), boid_body(), bpy_bmloopuv_uv_set(), bpy_bmvertskin_radius_set(), calculate_autoscale_factor(), calculateTransformCenter(), cancel_mouse_slide(), cancel_mouse_slide_plane_marker(), clip_draw_main(), closest_seg_seg_v2(), closest_to_line_segment_v2(), compensate_rotation_center(), blender::draw::compute_normalize_edge_vectors(), create_slide_marker_data(), curve_draw_event_add(), dm_ts_GetTextureCoordinate(), do_projectpaint_thread(), do_rough_end(), do_versions_affine_tracker_track(), do_vert_pair(), downsample_planar(), draw_cache_view_iter_fn(), draw_distortion(), draw_spline_points(), draw_tracking_tracks(), draw_widgetbase_batch(), DRW_cache_bone_envelope_outline_get(), DRW_cache_empty_capsule_cap_get(), DRW_cache_gpencil_sbuffer_stroke_data_get(), DRW_cache_lightprobe_cube_get(), DRW_cache_lightprobe_grid_get(), DRW_globals_update(), drw_update_view(), dynamic_paint_find_island_border(), dynamic_paint_set_init_color_tex_to_imseq_cb(), dynamicPaint_createUVSurface(), dyntopo_detail_size_update_from_mouse_delta(), ED_clip_point_undistorted_pos(), ED_gpencil_select_stroke_segment(), ED_gpencil_trace_data_to_strokes(), ED_mask_cursor_location_get(), ED_node_cursor_location_get(), ED_node_cursor_location_set(), ED_node_tree_push(), ED_node_tree_start(), ED_uvedit_center_from_pivot_ex(), ED_view3d_project_float_ex(), edbm_rip_edge_invoke(), edge_slide_data_init_mval(), EEVEE_bloom_draw(), EEVEE_depth_of_field_init(), EEVEE_lightprobes_refresh_planar(), EEVEE_render_init(), emdm_ts_GetTextureCoordinate(), blender::draw::extract_edituv_stretch_angle_iter_poly_bm(), blender::draw::extract_edituv_stretch_angle_iter_poly_mesh(), blender::draw::extract_fdots_uv_iter_poly_mesh(), facetag_cut_cost_edge_uv(), facetag_cut_cost_vert_uv(), fcurve_samples_to_keyframes(), feather_bucket_check_intersect(), find_nearest_edge__doClosest(), find_nearest_tracking_knot_cb(), find_nearest_tracking_segment_cb(), flushTransPaintCurve(), flushTransTracking(), generate_arc_from_point_to_point(), blender::ed::geometry::geometry_attribute_convert_exec(), get_texture_coordinate(), gizmo2d_resize_refresh(), gizmo2d_rotate_refresh(), gizmo2d_xform_draw_prepare(), gizmo_arrow_test_select(), gizmo_button2d_test_select(), gizmo_window_project_2d(), gizmo_window_project_3d(), blender::io::gpencil::GpencilIO::gpencil_3D_point_to_screen_space(), gpencil_add_arc_points(), gpencil_add_fake_points(), gpencil_brush_grab_calc_dvec(), gpencil_brush_twist_apply(), gpencil_buffer_add_point(), gpencil_check_collision(), gpencil_draw_apply(), gpencil_draw_apply_event(), gpencil_draw_stroke_3d(), gpencil_grid_cells_init(), gpencil_primitive_arc(), gpencil_primitive_bezier(), gpencil_primitive_edit_event_handling(), gpencil_primitive_interaction_begin(), gpencil_primitive_interaction_end(), gpencil_primitive_modal(), gpencil_primitive_rectangle(), gpencil_primitive_set_cp(), gpencil_primitive_update_cps(), gpencil_primitive_update_strokes(), gpencil_sbuffer_stroke_ensure(), gpencil_smooth_buffer(), gpencil_speed_guide_init(), gpencil_stroke_addpoint(), gpencil_stroke_filtermval(), gpencil_stroke_from_buffer(), gpencil_stroke_newfrombuffer(), gpencil_stroke_perimeter_ex(), gpencil_uv_transform_get(), gpencil_uv_transform_init(), gpencil_vfx_shadow(), gpencil_vfx_wave(), gpu_batch_preset_rectf_tris_color_ex(), GPU_batch_tris_from_poly_2d_encoded(), grab_clone_invoke(), grab_clone_modal(), handle_position_for_minmax(), HC_relaxation_iteration_uv(), image_sample_line_exec(), imagewraposa(), imagewraposa_aniso(), InputAngle(), insert_seam_vert_array(), interp_v2_v2v2_slerp_safe(), is_poly_convex_v2(), isect_seg_seg_v2_point_ex(), isPolyValid(), knife_add_cut(), knife_bvh_raycast_cb(), knife_constrain_axis(), knife_find_closest_vert_of_edge(), knife_find_line_hits(), knife_snap_angle_relative(), knife_snap_angle_screen(), knife_snap_update_from_mval(), knifeproject_poly_from_object(), knifetool_update_mval(), knot_remove_error_recalculate(), laplacian_relaxation_iteration_uv(), layerCopyValue_mloop_origspace(), layerCopyValue_mloopuv(), layerInterp_mloop_origspace(), layerInterp_mloopuv(), layerInterp_propfloat2(), layerSwap_origspace_face(), layerSwap_tface(), line_clip_rect2f(), linehit_to_knifepos(), map_to_plane_axis_angle_v2_v3v3fl(), marker_block_handler(), markerToTransDataInit(), mask_layer_shape_from_mask_point(), mask_layer_shape_to_mask_point(), mask_parent_set_exec(), mask_spline_feather_differentiated_points_with_resolution__double(), MaskHandleToTransData(), maskrasterize_spline_differentiate_point_outset(), mesh_init_origspace(), mesh_loops_to_tessdata(), MOD_lineart_chain_compute_length(), mouse_select_init_data(), mul_v2_m3v2(), new_geo_uv_pinindex(), blender::ed::space_node::node_draw_link_bezier(), blender::ed::space_node::node_draw_space(), blender::ed::space_node::node_link_bezier_handles(), blender::ed::space_node::nodelink_batch_add_link(), blender::ed::space_node::nodelink_batch_init(), OVERLAY_bounds(), p_chart_lscm_solve(), p_chart_stretch_minimize(), p_chart_uv_to_array(), paint_2d_stroke(), paint_brush_stroke_add_step(), paint_brush_update(), paint_calculate_rake_rotation(), paint_draw_cursor_overlay(), paint_line_strokes_spacing(), paint_stroke_curve_end(), paint_stroke_modal(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step(), paintcurve_cursor_invoke(), paintcurve_slide_invoke(), paintcurve_slide_modal(), PaintCurveConvertHandle(), PaintCurvePointToTransData(), particle_batch_cache_fill_strands_data(), points_to_bezier(), project_bucket_clip_face(), project_paint_op(), project_paint_uvpixel_init(), put_postprocessed_frame_to_cache(), put_stabilized_frame_to_cache(), blender::compositor::read_input_corners(), recalcData_sequencer_image(), 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(), scanfill_preprocess_self_isect(), sculpt_expand_modal(), sculpt_expand_set_initial_components_for_mouse(), sculpt_mask_expand_invoke(), sculpt_mask_expand_modal(), sculpt_update_brush_delta(), sculpt_update_cache_invariants(), sculpt_update_cache_variants(), seq_image_transform_quad_get_ex(), SeqToTransData(), sequencer_slip_invoke(), set_face_varying_data_from_uv_task(), blender::bke::set_loop_uv(), blender::io::usd::USDMaterialReader::set_node_input(), set_subsurf_legacy_uv(), setup_vertex_point(), slide_marker_modal(), slide_plane_marker_customdata(), slide_plane_marker_modal(), slide_point_customdata(), slide_point_modal(), slide_spline_curvature_customdata(), slide_spline_curvature_modal(), snap_calc_node_fn(), spline_under_mouse_get(), ss_sync_from_uv(), stencil_control_calculate(), stencil_control_invoke(), stencil_restore(), stencil_set_target(), stitch_process_data(), stitch_propagate_uv_final_position(), test_polyfill_template_main(), blender::ed::sculpt_paint::image::ops::paint::texture_paint_init(), blender::render::texturemargin::TextureMarginMap::TextureMarginMap(), TimeToTransData(), to_pixel_space(), track_plane_from_existing_motion(), transform_input_update(), transform_snap_context_project_view3d_mixed_impl(), ui_block_calc_pie_segment(), ui_do_but_CURVE(), ui_do_but_CURVEPROFILE(), ui_pie_handler(), ui_popup_block_refresh(), update_cut_data_for_nurb(), uv_image_outset(), uv_remove_doubles_to_selected(), uv_remove_doubles_to_unselected(), uv_sculpt_stroke_apply(), uv_sculpt_stroke_init(), uv_select_overlap(), uv_set_connectivity_distance(), uv_snap_uvs_to_cursor(), uv_warp_from_mat4_pair(), uvedit_line_update_endpoint(), uvedit_nearest_uv(), uvedit_vertex_buttons(), uvprojectModifier_do(), UVsToTransData(), v2_quad_corners_to_mat4(), view2d_edge_pan_loc_compensate(), view3d_boxview_clip(), view_pan_exit(), view_pan_init(), view_pan_modal(), voronoi_addTriangulationPoint(), voronoi_clampEdgeVertex(), voronoi_createBoundaryEdges(), voronoi_getNextSideCoord(), voronoi_getXOfEdge(), voronoi_removeParabola(), voronoiEdge_new(), voronoiParabola_newSite(), voxel_size_edit_modal(), vwpaint_update_cache_invariants(), walkApply(), walkEvent(), widget_verts_to_triangle_strip(), WM_xr_action_state_get(), wm_xr_session_action_states_interpret(), wm_xr_session_event_create(), workbench_taa_jitter_init_order(), and workbench_update_world_ubo().

◆ copy_v2_v2_char()

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

Definition at line 131 of file math_vector_inline.c.

References Freestyle::a, and r.

◆ copy_v2_v2_db()

MINLINE void copy_v2_v2_db ( double  r[2],
const double  a[2] 
)

Definition at line 219 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by transform_input_update().

◆ copy_v2_v2_int()

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

Definition at line 189 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by annotation_stroke_newfrombuffer(), area_split_invoke(), blf_texture_draw(), curve_pen_invoke(), curve_pen_modal(), datadropper_id_sample_pt(), datadropper_win_area_find(), depthdropper_depth_sample_pt(), DRW_view_data_texture_list_size_validate(), ED_curve_editnurb_select_pick(), ED_view3d_depth_read_cached_seg(), edbm_shortest_path_pick_invoke(), edcu_shortest_path_pick_invoke(), EEVEE_bloom_init(), eyedropper_colorband_modal(), eyedropper_colorband_sample_point(), flyEvent(), ghost_event_proc(), gizmo_preselect_edgering_test_select(), gizmo_preselect_elem_test_select(), gpencil_3d_point_to_screen_space(), gpencil_get_depth_array(), gpencil_get_outline_points(), gpencil_primitive_update_strokes(), gpencil_save_selected_point(), gpencil_stroke_eraser_dostroke(), gpencil_stroke_newfrombuffer(), GPU_viewport_bind(), initFlyInfo(), initTransform(), initTransInfo(), initWalkInfo(), loopcut_init(), paintcurve_slide_invoke(), poselib_blend_init_data(), radial_control_set_initial_mouse(), region_scale_invoke(), select_linked_pick_invoke(), sequencer_slip_invoke(), slide_marker_modal(), text_scroll_apply(), text_scroll_invoke(), textview_draw_string(), transformEvent(), UI_block_bounds_set_menu(), ui_block_func_POPOVER(), ui_but_drag_init(), ui_do_but_NUM(), ui_do_but_SLI(), ui_drag_toggle_set(), ui_handle_menu_event(), ui_mouse_motion_keynav_init(), ui_panel_drag_collapse_handler_add(), ui_popup_block_create(), view3d_userdata_circleselect_init(), viewops_data_create(), viewrotate_invoke(), walkApply(), walkEvent(), WM_cursor_test_motion_and_update(), wm_event_add_ghostevent(), wm_event_add_mousemove(), wm_event_add_mousemove_to_head(), WM_event_add_simulate(), wm_event_cursor_other_windows(), wm_event_do_handlers(), WM_event_drag_start_xy(), wm_gizmomap_highlight_find(), wm_gizmomap_modal_set(), wm_handlers_do(), WM_tooltip_init(), and WM_window_find_under_cursor().

◆ copy_v2_v2_short()

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

Definition at line 154 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by BKE_gpencil_stroke_copy_settings().

◆ copy_v2_v2_uchar()

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

Definition at line 87 of file math_vector_inline.c.

References Freestyle::a, and r.

◆ copy_v2db_v2fl()

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

Definition at line 277 of file math_vector_inline.c.

References Freestyle::a, double(), and r.

Referenced by float_corners_to_double().

◆ copy_v2fl_v2db()

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

Definition at line 254 of file math_vector_inline.c.

References Freestyle::a, float(), and r.

◆ copy_v2fl_v2i()

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

◆ copy_v3_fl()

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

Definition at line 70 of file math_vector_inline.c.

References r.

Referenced by apply_layer_settings(), apply_objects_internal(), applyarmature_transfer_properties(), applyBoneSize(), applyResize(), applySkinResize(), ApplySnapResize(), barycentric_weights(), barycentric_weights_v2(), barycentric_weights_v2_clamped(), barycentric_weights_v2_persp(), BKE_bone_parent_transform_calc_from_matrices(), BKE_bone_parent_transform_clear(), BKE_brush_sculpt_reset(), BKE_curve_boundbox_get(), BKE_gpencil_layer_addnew(), BKE_histogram_update_sample_line(), BKE_pchan_bbone_spline_params_get(), BKE_pose_channel_ensure(), BKE_pose_rest(), BKE_texture_get_value_ex(), blo_do_versions_280(), blo_do_versions_290(), blo_do_versions_300(), blo_update_defaults_screen(), BLO_update_defaults_workspace(), bmo_symmetrize_exec(), button2d_draw_intern(), blender::compositor::ColorBalanceNode::convert_to_operations(), curvesurf_prim_add(), default_paint_slot_color_get(), deformStroke(), do_cloth_brush_solve_simulation_task_cb_ex(), do_version_replace_float_size_with_vector(), do_versions_sequencer_color_balance_sop(), draw_bone_update_disp_matrix_default(), draw_unit_state_create(), drw_call_calc_orco(), DRW_globals_update(), dynamic_paint_output_surface_image_displace_cb(), dynamic_paint_output_surface_image_wave_cb(), dynamic_paint_output_surface_image_wetmap_cb(), ED_armature_ebone_add(), ED_object_add_generic_get_opts(), EEVEE_lightprobes_grid_data_from_object(), EEVEE_material_default_diffuse_get(), EEVEE_material_default_glossy_get(), EEVEE_world_default_get(), gizmo_mesh_spin_init_setup(), gizmo_mesh_spin_redo_setup(), gizmo_primitive_draw_intern(), gizmo_ruler_draw(), GPENCIL_engine_init(), initBakeTime(), initBend(), initBevelWeight(), initBoneEnvelope(), initBoneRoll(), initBoneSize(), initCrease_ex(), initCurveShrinkFatten(), initData(), initEdgeSlide_ex(), initGPOpacity(), initGPShrinkFatten(), initMaskShrinkFatten(), initNormalRotation(), initPushPull(), initResize(), initRotation(), initSeqSlide(), initShear(), initShrinkFatten(), initSkinResize(), initTilt(), initTimeScale(), initTimeSlide(), initTimeTranslate(), initToSphere(), initTrackball(), initVertSlide_ex(), layerDefault_mvert_skin(), light_emission_node_to_energy(), lightprobe_add_exec(), make_cube_corner_adj_vmesh(), mat3_to_scale(), mat4_to_scale(), blender::eevee::MaterialModule::MaterialModule(), nearest_world_tree_co(), ntree_shader_groups_expand_inputs(), object_add_exec(), object_gpencil_add_exec(), OVERLAY_camera_cache_populate(), OVERLAY_grid_init(), paint_cursor_context_init(), pchan_clear_scale(), pointdensity_cache_vertex_weight(), pose_ik_chain_origin_heads_init(), scopes_update_cb(), SCULPT_brush_test_cube(), sculpt_pose_do_scale_deform(), setTransformViewAspect(), sizelike_evaluate(), blender::io::obj::transform_object(), update_vector_math_node_add_and_subtract_operators(), update_vector_math_node_dot_product_operator(), whiteBalance_init_data(), WIDGETGROUP_navigate_setup(), WIDGETGROUP_xform_shear_setup(), wm_xr_session_base_pose_calc(), wm_xr_session_draw_data_update(), workbench_material_ubo_data(), and workbench_studiolight_data_update().

◆ copy_v3_fl3()

MINLINE void copy_v3_fl3 ( float  v[3],
float  x,
float  y,
float  z 
)

◆ copy_v3_uchar()

MINLINE void copy_v3_uchar ( unsigned char  r[3],
const unsigned char  a 
)

Definition at line 114 of file math_vector_inline.c.

References Freestyle::a, and r.

◆ copy_v3_v3()

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

Definition at line 42 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by _softbody_calc_forces_slice_in_a_thread(), acf_gpencil_channel_color(), acf_nlaaction_color(), actcon_get_tarmat(), AnimationImporter::add_bone_animation_sampled(), add_hook_object(), add_new_bound_vert(), add_points_bone(), add_pose_transdata(), add_vertex_invoke(), add_verts_to_dgroups(), addSnapPoint(), addtovertices(), Freestyle::BlenderFileLoader::addTriangle(), adj_vmesh(), MeshFairingContext::adjacents_coords_from_loop(), BMeshFairingContext::adjacents_coords_from_loop(), adjust_bound_vert(), adjust_miter_coords(), adjust_miter_inner_coords(), alter_co(), annotation_arrow_create(), annotation_draw_data_layers(), annotation_draw_onionskins(), annotation_draw_stroke_3d(), annotation_draw_stroke_point(), annotation_get_3d_reference(), annotation_paint_initstroke(), annotation_stroke_arrow_init_conv_point(), apply_objects_internal(), apply_raw_diff_v3(), apply_stroke_envelope(), apply_weights_vertex_normal(), applyAlign(), applyarmature_set_edit_position(), applyAxisConstraintVec(), applyBoneSize(), applyFaceNearest(), applyFaceProject(), applyGridAbsolute(), applyMirror(), applyNormalRotation(), applyObjectConstraintVec(), applyResize(), applyShear(), applySkinResize(), applyTranslation(), applyTranslationValue(), applyTransObjects(), armature_bone_primitive_add_exec(), armature_calc_roll_exec(), armature_click_extrude_exec(), armature_click_extrude_invoke(), armature_dissolve_selected_exec(), armature_extrude_exec(), armature_fill_bones_exec(), armature_finalize_restpose(), armature_subdivide_exec(), armature_transform_recurse(), armature_vert_task_with_dvert(), armdef_evaluate(), arrayModifier_doArray(), average_grid_element_value_v3(), axis_angle_to_gimbal_axis(), axis_dominant_v3_to_m3(), axis_set_view(), axis_sort_v3(), axisProjection(), base_callback(), base_surface_grids_write(), basic_force_cb(), basic_integrate(), batch_sphere_lat_lon_vert(), bc_add_global_transform(), bc_decompose(), Bend(), bev_create_ngon(), bevel_build_cutoff(), bevel_build_rings(), bevel_list_calc_bisect(), bevel_vert_two_edges(), bevelinside(), bevels_to_filledpoly(), bezier_handle_calc_length_v3(), bezier_output_handle(), bezier_output_handle_inner(), bezt_to_transdata(), bicubic_interpolation(), bindVert(), BKE_armature_loc_pose_to_bone(), BKE_armature_loc_world_to_pose(), BKE_armature_where_is_bone(), BKE_bmbvh_new_ex(), BKE_bone_offset_matrix_get(), BKE_bone_parent_transform_apply(), BKE_bone_parent_transform_calc_from_matrices(), BKE_brush_color_set(), BKE_constraint_apply_for_pose(), BKE_crazyspace_api_displacement_to_original(), BKE_curve_bevelList_make(), BKE_curve_deform_co(), BKE_curve_eval_geometry(), BKE_curve_nurbs_key_vert_coords_alloc(), BKE_curve_nurbs_vert_coords_apply(), BKE_curve_nurbs_vert_coords_get(), BKE_curve_texspace_calc(), BKE_curvemapping_set_black_white(), BKE_displist_fill(), BKE_editlattice_load(), BKE_editmesh_cache_calc_minmax(), BKE_fluid_modifier_copy(), BKE_gpencil_boundbox_get(), BKE_gpencil_convert_mesh(), BKE_gpencil_data_copy_settings(), BKE_gpencil_from_image(), BKE_gpencil_layer_copy_settings(), BKE_gpencil_merge_materials_table_get(), BKE_gpencil_point_coords_apply(), BKE_gpencil_point_coords_get(), BKE_gpencil_stroke_2d_flat(), BKE_gpencil_stroke_2d_flat_ref(), BKE_gpencil_stroke_copy_settings(), BKE_gpencil_stroke_join(), BKE_gpencil_stroke_perimeter_from_view(), BKE_gpencil_stroke_sample(), BKE_gpencil_stroke_smooth_point(), BKE_gpencil_stroke_stretch(), BKE_gpencil_stroke_subdivide(), BKE_gpencil_stroke_trim(), BKE_gpencil_stroke_uniform_subdivide(), BKE_gpencil_stroke_update_geometry_from_editcurve(), BKE_histogram_update_sample_line(), BKE_keyblock_convert_to_vertcos(), BKE_keyblock_update_from_curve(), BKE_keyblock_update_from_lattice(), BKE_keyblock_update_from_mesh(), BKE_keyblock_update_from_vertcos(), BKE_lattice_deform_data_eval_co(), BKE_lattice_resize(), BKE_lattice_vert_coords_apply(), BKE_lattice_vert_coords_get(), BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_define(), BKE_mask_point_set_handle(), BKE_maskrasterize_handle_init(), BKE_mball_minmax_ex(), BKE_mesh_calc_poly_angles(), BKE_mesh_calc_poly_area(), BKE_mesh_calc_relative_deform(), BKE_mesh_center_of_volume(), BKE_mesh_copy_parameters(), BKE_mesh_eval_geometry(), BKE_mesh_from_metaball(), BKE_mesh_from_pointcloud(), BKE_mesh_mirror_apply_mirror_on_axis_for_modifier(), BKE_mesh_mirror_bisect_on_mirror_plane_for_modifier(), BKE_mesh_nomain_to_meshkey(), BKE_mesh_normals_loop_split(), BKE_mesh_orco_verts_get(), BKE_mesh_remap_calc_difference_from_mesh(), BKE_mesh_remap_calc_edges_from_mesh(), BKE_mesh_remap_calc_loops_from_mesh(), BKE_mesh_remap_calc_polys_from_mesh(), BKE_mesh_remap_calc_verts_from_mesh(), BKE_mesh_remesh_reproject_paint_mask(), BKE_mesh_remesh_voxel_fix_poles(), BKE_mesh_texspace_calc(), BKE_mesh_texspace_copy_from_object(), BKE_mesh_texspace_get(), BKE_mesh_to_curve_nurblist(), BKE_mesh_vert_coords_apply(), BKE_mesh_vert_coords_get(), BKE_mesh_wrapper_vert_coords_copy(), BKE_multires_construct_tangent_matrix(), BKE_nurb_bezt_calc_plane(), BKE_nurb_bpoint_calc_plane(), BKE_nurb_type_convert(), BKE_nurbList_handles_recalculate(), BKE_nurbList_index_get_co(), BKE_object_eval_parent(), BKE_object_minmax(), BKE_object_minmax_empty_drawtype(), BKE_object_tfm_backup(), BKE_object_tfm_restore(), BKE_object_transform_copy(), BKE_paint_stroke_get_average(), BKE_palette_from_hash(), BKE_pbvh_bmesh_node_save_orig(), BKE_pbvh_bounding_box(), BKE_pbvh_node_get_BB(), BKE_pbvh_node_get_original_BB(), BKE_pbvh_redraw_BB(), BKE_pbvh_vert_coords_alloc(), BKE_pbvh_vert_coords_apply(), BKE_pchan_bbone_handles_compute(), BKE_pchan_bbone_spline_compute(), BKE_pchan_bbone_spline_params_get(), BKE_pchan_to_mat4(), BKE_pointcloud_minmax(), BKE_pose_channel_copy_data(), BKE_pose_copy_pchan_result(), BKE_pose_eval_bone(), BKE_pose_where_is(), BKE_pose_where_is_bone(), BKE_pose_where_is_bone_tail(), BKE_scene_cursor_from_mat4(), BKE_scene_cursor_to_mat4(), BKE_screen_view3d_do_versions_250(), BKE_shrinkwrap_compute_smooth_normal(), BKE_shrinkwrap_project_normal(), BKE_shrinkwrap_snap_point_to_surface(), BKE_sim_debug_data_add_element(), BKE_texture_mapping_init(), blendColors(), BLF_color3fv_alpha(), BLI_bvhtree_bb_raycast(), BLI_bvhtree_get_bounding_box(), BLI_bvhtree_ray_cast_all_ex(), BLI_bvhtree_ray_cast_ex(), BLI_covariance_m3_v3n(), BLI_newton3d_solve(), BLI_rng_get_float_unit_v3(), BLI_rng_get_tri_sample_float_v3(), BLI_scanfill_calc_ex(), BLI_scanfill_vert_add(), BLI_uvproject_from_camera(), BLI_uvproject_from_view(), blo_do_versions_250(), blo_do_versions_260(), blo_do_versions_280(), blo_do_versions_pre250(), blo_update_defaults_scene(), bm_decim_edge_collapse(), BM_edge_calc_face_angle_with_imat3_ex(), bm_edge_symmetry_map(), bm_edgering_pair_interpolate(), bm_edgexedge_isect_cb(), bm_edgexvert_isect_cb(), BM_editselection_center(), BM_editselection_normal(), bm_face_attrs_copy(), BM_face_calc_area_with_mat3(), BM_face_calc_perimeter_with_mat3(), BM_face_calc_tangent_edge_diagonal(), BM_face_calc_tangent_edge_pair(), BM_face_calc_tangent_vert_diagonal(), BM_face_create(), BM_face_multires_bounds_smooth(), bm_face_split_by_concave(), bm_face_split_edge_find(), BM_face_split_edgenet(), BM_face_split_edgenet_connect_islands(), BM_face_split_n(), bm_face_split_walk_back(), bm_isect_tri_tri(), bm_log_vert_bmvert_copy(), bm_log_verts_restore(), BM_loop_calc_face_normal(), BM_loop_calc_face_normal_safe_ex(), BM_loop_calc_face_normal_safe_vcos_ex(), bm_loop_calc_opposite_co(), BM_loop_interp_from_face(), BM_mesh_bm_from_me(), BM_mesh_bm_to_me(), BM_mesh_bm_to_me_for_eval(), BM_mesh_calc_uvs_circle(), BM_mesh_intersect(), BM_mesh_intersect_edges(), bm_mesh_loops_calc_normals_for_loop(), bm_mesh_loops_calc_normals_no_autosmooth(), bm_mesh_loops_custom_normals_set(), BM_mesh_vert_coords_apply(), BM_mesh_vert_coords_get(), bm_to_mesh_shape(), bm_vert_attrs_copy(), bm_vert_boundary_tangent(), BM_vert_create(), bm_vert_pair_best_face_get(), bm_vert_pair_share_best_splittable_face_cb(), bm_vert_pair_share_splittable_face_cb(), bm_vert_pair_to_matrix(), BM_verts_calc_normal_from_cloud_ex(), BMBVH_EdgeVisible(), bmbvh_find_face_closest_cb(), bmbvh_find_vert_closest_cb(), bmbvh_ray_cast_cb(), bmbvh_ray_cast_handle_hit(), bmo_bisect_plane_exec(), bmo_collapse_exec(), bmo_face_inset_individual(), bmo_inset_region_exec(), bmo_pointmerge_exec(), bmo_poke_exec(), BMO_slot_vec_get(), BMO_slot_vec_set(), bmo_smooth_vert_exec(), bmo_subdivide_edges_exec(), bmo_translate_exec(), bmo_triangle_fill_exec(), boid_body(), boid_brain(), boid_climb(), boid_find_ground(), boids_precalc_rules(), bone_connect_to_existing_parent(), bone_connect_to_new_parent(), bone_direction_worldspace_get(), boundInsert(), box_minmax_bounds_m4(), BPy_BMLayerItem_SetItem(), brush_average_apply(), brush_comb(), brush_length(), brush_painter_imbuf_new(), brush_painter_imbuf_update(), brush_puff(), brush_replace_apply(), brush_smooth_do(), blender::nodes::decl::Vector::build(), build_boundary(), build_square_in_vmesh(), build_vmesh(), bvhtree_build_from_cloth(), bvhtree_build_from_mvert(), bvhtree_from_editmesh_edges_create_tree(), bvhtree_from_editmesh_looptri_create_tree(), bvhtree_from_mesh_edges_create_tree(), bvhtree_from_mesh_faces_create_tree(), bvhtree_from_mesh_looptri_create_tree(), bvhtree_update_from_cloth(), bvhtree_update_from_mvert(), C_BVHTree_FromBMesh(), C_BVHTree_FromObject(), C_BVHTree_FromPolygons(), C_Matrix_LocRotScale(), cache_key_incremental_rotation(), cage_mapped_verts_callback(), calc_area_normal_and_center_task_cb(), calc_bbox(), calc_brush_local_mat(), calc_curve_deform(), calc_initial_placement_point_from_view(), calc_multiplane_scrape_surface_task_cb(), calc_ortho_extent(), calc_point_from_barycentric_cage(), calc_point_from_barycentric_extrusion(), calc_sculpt_normal(), calc_sculpt_plane(), calc_shapeKeys(), calc_solidify_normals(), calc_tangent_ortho(), calc_tangent_spaces(), blender::io::obj::OBJMesh::calc_vertex_coords(), calculate_profile_segments(), calculate_reprojection_error_at_marker(), blender::nodes::node_geo_mesh_primitive_uv_sphere_cc::calculate_sphere_vertex_data(), blender::geometry::calculate_vertices(), calculateCenter(), calculateCenterActive(), calculateCenterCursor(), calculateCenterLocal(), calculateCenterMedian(), calculateTransformCenter(), camera_frame_fit_calc_from_data(), camera_stereoscopy_extra(), camera_view3d_reconstruction(), cb_bvert_no_copy(), cb_mvert_no_copy(), ccgDM_getFinalVertCo(), ccgDM_getFinalVertNo(), ccgDM_to_MVert(), cdDM_getVertCo(), cdDM_getVertNo(), blender::nodes::node_geo_curve_fill_cc::cdt_to_mesh(), childof_evaluate(), choose_winner(), clampto_evaluate(), clip_segment_v3_plane(), Freestyle::BlenderFileLoader::clipTriangle(), closer_v3_v3v3v3(), closest_on_tri_to_point_v3(), closest_point_on_surface(), closest_to_line_segment_v3(), closest_to_ray_v3(), cloth_brush_apply_brush_foces(), cloth_brush_collision_cb(), cloth_brush_simulation_location_get(), cloth_brush_solve_collision(), cloth_calc_force(), cloth_calc_helper_forces(), cloth_calc_spring_force(), cloth_collision(), cloth_collision_response_static(), cloth_continuum_add_hair_segments(), cloth_continuum_step(), cloth_filter_apply_displacement_to_deform_co(), cloth_filter_apply_forces_task_cb(), cloth_filter_apply_forces_to_vertices(), cloth_from_object(), cloth_hair_update_bending_rest_targets(), cloth_hair_update_bending_targets(), cloth_make_rest_mesh(), cloth_selfcollision(), cloth_selfcollision_response_static(), cloth_to_object(), cloth_update_verts(), collision_check(), collision_fail(), collision_get_collider_velocity(), collision_newton_rhapson(), collision_point_velocity(), collision_response(), Color_CreatePyObject(), color_filter_task_cb(), colorfn(), compute_collision_point_edge_tri(), compute_collision_point_tri_tri(), compute_mdisp_quad(), blender::ed::curves::convert_to_particle_system::compute_mface_weights_for_position(), blender::draw::compute_normalize_edge_vectors(), compute_sss_kernel(), computeBindWeights(), computeImplictRotations(), connection_node_mat(), constraint_target_to_mat4(), constraints_rotation_impl(), constraintTransLim(), contarget_get_lattice_mat(), contarget_get_mesh_mat(), converge(), convert_tree(), copy_bone_transform(), copy_mesh_vert(), blender::io::obj::copy_property_from_node(), cp_fmatrix(), blender::nodes::node_geo_mesh_primitive_circle_cc::create_circle_mesh(), GeometryExporter::create_normals(), blender::io::gpencil::GpencilIO::create_object_list(), blender::nodes::node_geo_scale_elements_cc::create_single_axis_transform(), createEdgeSlideVerts_double_side(), createEdgeSlideVerts_single_side(), createSpaceNormal(), createTransArmatureVerts(), createTransCursor_2D_impl(), createTransCursor_view3d(), createTransCurveVerts(), createTransEditVerts(), createTransGPencil_curves(), createTransGPencil_strokes(), createTransLatticeVerts(), createTransMBallVerts(), createTransMeshSkin(), createTransMeshVertCData(), createTransNlaData(), createTransParticleVerts(), createTransSculpt(), createTransTexspace(), createVertSlideVerts(), GeometryExporter::createVertsSource(), cubemap_glob(), cubic_subdiv(), cuboid_do(), cursor_draw_point_screen_space(), cursor_draw_tiling_preview(), curve_draw_event_add(), curve_draw_event_add_first(), curve_draw_exec(), curve_draw_invoke(), curve_draw_stroke_3d(), curve_mapping_to_ocio_settings(), curve_to_displist(), curvemap_make_table(), blender::geometry::customdata_weld(), damptrack_do_transform(), default_paint_slot_color_get(), deflect_emitter_iter(), deformStroke(), deformVert(), deformVerts(), deformVerts_do(), dist_signed_squared_to_corner_v3v3v3(), dist_squared_ray_to_aabb_v3(), dist_squared_ray_to_aabb_v3_precalc(), dist_squared_ray_to_seg_v3(), dist_squared_ray_to_tri_v3_fast(), distlimit_evaluate(), distribute_grid(), dm_ts_GetNormal(), dm_ts_GetPosition(), dm_ts_SetTSpace(), do_brush_action(), do_cloth_brush_apply_forces_task_cb_ex(), do_cloth_brush_solve_simulation_task_cb_ex(), do_displacement_smear_brush_task_cb_ex(), do_elastic_deform_brush_task_cb_ex(), do_grab_brush_task_cb_ex(), do_guides(), do_inflate_brush_task_cb_ex(), blender::compositor::RenderLayersProg::do_interpolation(), do_kink(), do_kink_spiral_deform(), do_layer_brush_task_cb_ex(), do_paint_brush_task_cb_ex(), do_path_effectors(), do_physical_effector(), do_pinch_brush_task_cb_ex(), do_pose_brush_task_cb_ex(), do_projectpaint_draw(), do_projectpaint_draw_f(), do_projectpaint_thread(), do_rough(), do_rough_curve(), do_smear_brush_task_cb_exec(), do_snake_hook_brush_task_cb_ex(), do_step_cloth(), do_texture_effector(), do_tiled(), do_topology_rake_bmesh_task_cb_ex(), do_version_bone_head_tail_237(), do_version_constraints_radians_degrees_270_5(), do_versions_after_linking_280(), do_versions_socket_default_value_259(), doEdgeSlide(), doVertSlide(), draw_frustum_bound_sphere_calc(), draw_points(), draw_primitive_view_impl(), draw_tracking_tracks(), draw_view_matrix_state_update(), drawEdgeSlide(), drawLine(), drawObjectConstraint(), DRW_globals_update(), drw_shgroup_bone_envelope(), DRW_subdivide_loose_geom(), DRW_text_cache_add(), DRW_text_cache_draw(), DRW_text_edit_mesh_measure_stats(), dvar_eval_locDiff(), dynamic_paint_brush_velocity_compute_cb(), dynamic_paint_generate_bake_data_cb(), dynamic_paint_paint_mesh_cell_point_cb_ex(), dynamic_paint_paint_particle_cell_point_cb_ex(), dynamic_paint_paint_single_point_cb_ex(), dynamic_paint_prepare_effect_cb(), dynamic_paint_set_init_color_tex_to_imseq_cb(), dynamicPaint_generateBakeData(), dynamicPaint_mixPaintColors(), dynamicPaint_paintMesh(), dynamicPaint_updatePointData(), dyntopo_detail_size_edit_invoke(), dyntopo_detail_size_parallel_lines_draw(), ease_handle_axis(), ebone_spline_preview(), ED_armature_ebone_from_mat4(), ED_armature_ebone_to_mat4(), ED_armature_ebone_transform_mirror_update(), ED_armature_from_edit(), ED_armature_origin_set(), ED_curve_active_center(), ED_draw_object_facemap(), ed_editcurve_addvert(), ED_gizmotypes_snap_3d_data_get(), ED_gpencil_drawing_reference_get(), ED_gpencil_fill_vertex_color_set(), ED_gpencil_point_vertex_color_set(), ED_gpencil_project_point_to_plane(), ED_gpencil_project_stroke_to_plane(), ED_gpencil_projected_2d_bound_box(), ED_gpencil_reset_layers_parent(), ED_gpencil_sbuffer_vertex_color_set(), ED_gpencil_stroke_reproject(), ED_gpencil_tpoint_to_point(), ED_image_draw_info(), ED_mball_add_primitive(), ED_mesh_deform_bind_callback(), ED_node_shader_default(), ED_object_base_init_transform_on_add(), ED_object_calc_active_center(), ED_object_calc_active_center_for_editmode(), ED_object_calc_active_center_for_posemode(), ED_object_location_from_view(), ED_object_modifier_convert_psys_to_mesh(), ED_object_new_primitive_matrix(), ED_object_parent_set(), ED_sculpt_init_transform(), ED_sculpt_update_modal_transform(), ED_space_clip_color_sample(), ED_space_image_color_sample(), ED_space_node_color_sample(), ED_transform_calc_gizmo_stats(), ED_transverts_create_from_obedit(), ED_transverts_update_obedit(), ED_view3d_background_color_get(), ED_view3d_cameracontrol_acquire(), ED_view3d_cameracontrol_release(), ED_view3d_cameracontrol_update(), ED_view3d_clipping_clamp_minmax(), ED_view3d_cursor3d_position(), ED_view3d_cursor3d_position_rotation(), ED_view3d_cursor_snap_prevpoint_set(), ED_view3d_global_to_vector(), ED_view3d_minmax_verts(), ed_view3d_project__internal(), ED_view3d_project_float_v2_m4(), ED_view3d_project_float_v3_m4(), ED_view3d_smooth_view_ex(), ED_view3d_win_to_3d(), ED_view3d_win_to_origin(), edbm_average_normals_exec(), edbm_blend_from_shape_exec(), edbm_dupli_extrude_cursor_invoke(), edbm_extrude_discrete_faces(), edbm_extrude_edge_exclude_mirror(), edbm_extrude_repeat_exec(), edbm_normals_tools_exec(), edbm_point_normals_modal(), edbm_polybuild_face_at_cursor_invoke(), edbm_polybuild_split_at_cursor_invoke(), edbm_screw_exec(), EDBM_verts_mirror_apply(), EDBM_verts_mirror_cache_begin_ex(), edge_pos_direction_worldspace_get(), edge_slide_snap_apply(), edgering_vcos_get(), edgering_vcos_get_pair(), edit_to_particle(), editbmesh_vert_coords_alloc(), editmesh_looptri_nearest_point(), eevee_light_matrix_get(), eevee_light_setup(), EEVEE_lightprobes_cube_data_from_object(), EEVEE_lightprobes_planar_data_from_object(), EEVEE_shadows_caster_register(), EEVEE_shadows_cube_add(), EEVEE_shadows_cube_setup(), element_accumulator_copy(), ElementMirror(), ElementResize(), ElementRotation_ex(), emdm_ts_GetNormal(), emdm_ts_GetPosition(), emdm_ts_SetTSpace(), Euler_CreatePyObject(), eulO_to_gimbal_axis(), AnimationImporter::evaluate_animation(), evaluate_curve_type_object(), evaluate_higher_grid_positions_callback(), evaluate_vertex_and_apply_displacement_copy(), evaluate_vertex_and_apply_displacement_interpolate(), blender::compositor::ColorCurveOperation::execute_pixel_sampled(), blender::compositor::ConstantLevelColorCurveOperation::execute_pixel_sampled(), blender::compositor::ConvertColorToVectorOperation::execute_pixel_sampled(), blender::compositor::InvertOperation::execute_pixel_sampled(), blender::compositor::MixColorOperation::execute_pixel_sampled(), blender::compositor::MixHueOperation::execute_pixel_sampled(), blender::compositor::MixSaturationOperation::execute_pixel_sampled(), blender::compositor::MultilayerColorOperation::execute_pixel_sampled(), blender::compositor::MultilayerVectorOperation::execute_pixel_sampled(), blender::compositor::TextureBaseOperation::execute_pixel_sampled(), execute_posetree(), execute_scene(), blender::draw::extract_edituv_stretch_angle_iter_poly_bm(), blender::draw::extract_edituv_stretch_angle_iter_poly_mesh(), blender::draw::extract_fdots_pos_iter_poly_mesh(), blender::draw::extract_orco_iter_poly_bm(), blender::draw::extract_orco_iter_poly_mesh(), blender::draw::extract_pos_nor_hq_iter_ledge_bm(), blender::draw::extract_pos_nor_hq_iter_ledge_mesh(), blender::draw::extract_pos_nor_hq_iter_lvert_bm(), blender::draw::extract_pos_nor_hq_iter_lvert_mesh(), blender::draw::extract_pos_nor_hq_iter_poly_bm(), blender::draw::extract_pos_nor_hq_iter_poly_mesh(), blender::draw::extract_pos_nor_iter_ledge_bm(), blender::draw::extract_pos_nor_iter_ledge_mesh(), blender::draw::extract_pos_nor_iter_lvert_bm(), blender::draw::extract_pos_nor_iter_lvert_mesh(), blender::draw::extract_pos_nor_iter_poly_bm(), blender::draw::extract_pos_nor_iter_poly_mesh(), blender::draw::extract_pos_nor_loose_geom_subdiv(), blender::draw::extract_skin_roots_init(), blender::draw::extract_tan_init_common(), blender::draw::extract_tan_init_subdiv(), extrude_points_from_selected_vertices(), eyedropper_add_material(), eyedropper_add_palette_color(), eyedropper_color_sample(), eyedropper_color_set(), eyedropper_gpencil_color_set(), eyedropper_init(), face_dupli_from_editmesh(), face_to_plane(), facetag_cut_cost_edge(), fcurves_to_pchan_links_get(), fill_add_joint(), blender::bke::fill_mesh_positions(), fill_profile_fracs(), find_internal_spring_target_vertex(), flushTransParticles(), flyApply(), followpath_get_tarmat(), followtrack_distance_from_viewplane_get(), followtrack_evaluate_using_2d_position(), form_factor_visible_quad(), blender::float4x4::from_location(), generate_perimeter_cap(), generate_vert_coordinates(), get_angular_velocity_vector(), get_bone_wire_color(), get_cpa_texture(), get_editbmesh_orco_verts(), get_effector_data(), get_new_constraint_target(), get_next_loop(), get_normal(), get_position(), get_profile_point(), get_vertexcos__mapFunc(), getSnapPoint(), getTransformOrientation_ex(), give_parvert(), gizmo2d_xform_draw_prepare(), gizmo_3d_dial_matrixbasis_calc(), gizmo_arrow_modal(), gizmo_bbone_offset_get(), gizmo_bbone_offset_set(), gizmo_cage2d_modal(), gizmo_dial_draw(), gizmo_dial_draw_select(), gizmo_dial_setup(), gizmo_mesh_extrude_draw_prepare(), gizmo_mesh_extrude_orientation_matrix_set_for_adjust(), gizmo_mesh_placement_modal_from_setup(), gizmo_mesh_spin_init_refresh(), gizmo_mesh_spin_init_refresh_axis_orientation(), gizmo_mesh_spin_redo_setup(), gizmo_mesh_spin_redo_update_from_op(), gizmo_mesh_spin_redo_update_orient_axis(), gizmo_move_invoke(), gizmo_prepare_mat(), gizmo_ruler_draw(), gizmo_ruler_invoke(), gizmo_snap_rna_location_get_fn(), gizmo_snap_rna_location_set_fn(), gizmo_snap_rna_normal_get_fn(), gizmo_snap_rna_prevpoint_get_fn(), globallen(), gpencil_add_new_points(), gpencil_add_verts_to_dgroups(), gpencil_analyze_strokes(), gpencil_apply_parent(), gpencil_apply_parent_point(), gpencil_brush_cursor_draw(), gpencil_brush_grab_apply_cached(), gpencil_brush_pinch_apply(), gpencil_brush_push_apply(), gpencil_brush_randomize_apply(), gpencil_brush_twist_apply(), gpencil_buffer_add_point(), gpencil_calc_points_factor(), gpencil_convert_spline(), gpencil_copy_move_point(), gpencil_copy_points(), gpencil_create_extensions(), gpencil_deform_verts(), gpencil_depth_plane(), GPENCIL_engine_init(), gpencil_generate_edgeloops(), gpencil_get_extremes(), gpencil_get_nearest_stroke_index(), gpencil_insert_point(), gpencil_insert_points_to_stroke(), gpencil_insert_to_array(), gpencil_light_ambient_add(), gpencil_light_pool_populate(), gpencil_material_to_vertex_exec(), gpencil_object_cache_add(), gpencil_origin_get(), gpencil_origin_set(), gpencil_paint_initstroke(), gpencil_point_to_parent_space(), gpencil_sculpt_compute_lock_axis(), gpencil_snap_cursor_to_sel(), gpencil_snap_to_cursor(), gpencil_snap_to_grid(), gpencil_stroke_convertcoords(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_join_islands(), gpencil_stroke_perimeter_ex(), gpencil_stroke_subdivide(), gpencil_stroke_to_bezier(), gpencil_stroke_to_bezier_add_point(), gpencil_stroke_to_path(), gpencil_stroke_to_path_add_point(), gpencil_strokepoint_convertcoords(), gpencil_subdivide_stroke(), gpencil_transform_fill_invoke(), gpencil_vertexpaint_set_exec(), gpencil_vfx_glow(), gpencil_vfx_shadow(), gpencil_vfx_swirl(), gpencil_viewport_material_overrides(), GPU_material_sss_profile_create(), GPU_pbvh_mesh_buffers_update(), grid_loc_to_world_loc(), grid_tangent_matrix(), grid_to_world(), hair_collision(), hair_create_input_mesh(), hair_to_particle(), handleNumInput(), harmonic_coordinates_bind(), harmonic_ray_callback(), headerTranslation(), heat_ray_source_visible(), hit_depth_create(), hue_correct_apply_threaded(), ibuf_get_color(), imapaint_pick_uv(), imapaint_project(), imapaint_tri_weights(), IMB_buffer_float_from_float(), IMB_buffer_float_from_float_mask(), IMB_colormanagement_blackbody_temperature_to_rgb_table(), IMB_colormanagement_color_picking_to_scene_linear_v3(), IMB_colormanagement_pixel_to_display_space_v3(), IMB_colormanagement_scene_linear_to_color_picking_v3(), IMB_colormanagement_wavelength_to_rgb_table(), imb_savetiff(), imb_stereo3d_read_interlace(), imb_stereo3d_write_interlace(), imm_draw_cube_corners_3d(), blender::ed::sculpt_paint::paint::image::PaintingKernel< ImageBuffer >::init_brush_color(), init_lfvector(), init_meta(), init_selected_bezt_handles(), init_socket_cpp_value_from_property(), initBend(), initShear_mouseInputMode(), insert_bezt_to_nurb(), insert_bp_to_nurb(), Freestyle::BlenderFileLoader::insertShapeNode(), integrate_particle(), interp_barycentric_tri_v3(), interp_bilinear_grid(), interp_bilinear_quad_v3(), interp_line_v3_v3v3v3(), interp_m4_m4m4(), interp_v3_v3v3_slerp_safe(), interp_vmesh(), intersect_dm_quad_weights(), is_quad_symmetric(), isect_line_line_epsilon_v3(), isect_plane_plane_v3(), isect_ray_aabb_v3(), isect_ray_aabb_v3_precalc(), isect_sweeping_sphere_tri_v3(), isect_tri_tri_v3(), isect_tri_tri_v3_ex(), join_mesh_single(), key_block_get_data(), keyblock_data_convert_to_curve(), keyblock_data_convert_to_lattice(), keyblock_data_convert_to_mesh(), kinematic_get_tarmat(), knife_add_cut(), knife_bm_tri_cagecos_get(), knife_bvh_raycast(), knife_bvh_raycast_cb(), knife_bvh_raycast_filter(), knife_constrain_axis(), knife_find_closest_edge_of_face(), knife_find_closest_face(), knife_find_closest_vert_of_edge(), knife_find_line_hits(), knife_snap_angle_relative(), knife_start_cut(), knife_update_active(), knifetool_draw_angle(), knifetool_raycast_planes(), layerCopyValue_normal(), layerInterp_mvert_skin(), layerInterp_propfloat3(), layerInterp_shapekey(), light_emission_node_to_energy(), light_emission_unify(), limit_dist_v3(), lineart_chain_append_point(), lineart_chain_prepend_point(), linehit_to_knifepos(), loc_rot_size_to_mat4(), loclike_evaluate(), loop_normal_editdata_init(), loose_data_instantiate_collection_process(), loose_data_instantiate_obdata_process(), make_bbone_spline_matrix(), make_bevel_list_3D_tangent(), make_bevel_list_segment_3D(), make_boneList_recursive(), make_box_from_metaelem(), make_child_duplis_verts_from_editmesh(), make_child_duplis_verts_from_mesh(), make_cube_corner_adj_vmesh(), make_cube_corner_square(), make_cube_corner_square_in(), make_duplis_font(), make_duplis_particle_system(), make_unit_cube_map(), make_vertexcos__mapFunc(), markerToTransCurveDataInit(), markerToTransDataInit(), mask_calc_point_handle(), MaskHandleToTransData(), MaskPointToTransData(), mat3_align_axis_to_v3(), mat3_normalized_to_compatible_eul(), mat3_normalized_to_compatible_eulO(), mat3_normalized_to_eul(), mat3_normalized_to_eul2(), mat3_normalized_to_eulO(), mat3_normalized_to_eulo2(), mat3_to_vec_roll(), mat4_to_dquat(), mat4_to_loc_quat(), mat4_to_loc_rot_size(), match_texture_space_exec(), material_default_surface_init(), matrix_as_3x3(), Matrix_to_euler(), Matrix_translation_set(), mball_select_similar_type_get(), merge_frame_corners(), merge_target(), mesh_bisect_exec(), mesh_calc_eigen_matrix(), mesh_calc_hq_normal(), mesh_calc_normals_poly_and_vertex_accum_fn(), mesh_calc_poly_area_centroid(), mesh_calc_poly_volume_centroid_with_reference_center(), mesh_calc_tri_tessface(), mesh_copy_texture_space_from_curve_type(), mesh_edges_nearest_point(), mesh_edges_sharp_tag(), mesh_edges_spherecast(), mesh_faces_nearest_point(), mesh_filter_task_cb(), mesh_get_mapped_verts_coords(), mesh_looptri_nearest_point(), mesh_looptri_target_project(), blender::geometry::mesh_merge_by_distance_connected(), mesh_normals_loop_custom_set(), mesh_nurbs_displist_to_mdata(), mesh_remap_interp_poly_data_get(), mesh_remove_doubles_on_axis(), mesh_symmetry_snap_exec(), mesh_tris_nearest_point_dp(), mesh_verts_spherecast_do(), meshcache_do(), meshdeform_dynamic_bind(), meshdeform_inside_cage(), meshdeform_matrix_solve(), meshdeform_ray_tree_intersect(), metaball_coords_and_quats_apply_with_mat4(), metaball_coords_and_quats_get(), min_dist_dir_update(), minmax_evaluate(), minter_v3_v3v3v3_ref(), mixColors(), MOD_get_texture_coords(), MOD_solidify_extrude_modifyMesh(), MOD_solidify_nonmanifold_modifyMesh(), modifier_skin_armature_create(), modifyMesh(), motionpaths_calc_bake_targets(), move_bezt_handle_or_vertex_by_displacement(), move_bp_to_location(), move_profile_plane(), move_weld_profile_planes(), mul_v2_m3v3(), mul_v3_m3v3(), multires_copy_grid(), multires_create_grids_in_unsubdivided_base_mesh(), multires_reshape_apply_base_refit_base_mesh(), multires_reshape_orig_grid_element_for_grid_coord(), multires_reshape_vertcos_foreach_single_vertex(), multires_subdivide_create_object_space_linear_grids(), multiresbake_get_normal(), multitex(), multitex_nodes_intern(), mvert_to_particle(), nearest_world_tree(), nearest_world_tree_co(), new_knife_vert(), new_perimeter_point(), new_sample_point_from_gp_point(), blender::ed::space_node::node_buts_curvecol(), blender::ed::space_node::node_composit_buts_huecorrect(), blender::ed::space_node::node_copy_color_exec(), blender::nodes::node_geo_collection_info_cc::node_geo_exec(), node_socket_init_default_value(), nodestack_get_vec(), NodeToTransData(), normalEditModifier_do_directional(), normalEditModifier_do_radial(), ntree_shader_expand_socket_default(), ob_parbone(), ob_parcurve(), object_apply_location(), object_apply_rotation(), object_blend_read_data(), object_clear_rot(), object_convert_exec(), object_grid_element_to_tangent_displacement(), object_hook_assign_exec(), object_origin_set_exec(), object_rand_transverts(), object_shape_key_mirror(), object_transfer_mode_reposition_view_pivot(), object_transform_axis_target_modal(), object_warp_verts_exec(), ObjectToTransData(), offset_child(), offset_in_plane(), offset_meet(), offset_meet_edge(), offset_meet_lines_percent_or_absolute(), offset_on_edge_between(), orthogonalize_stable(), outliner_icon_background_colors(), OVERLAY_background_cache_init(), OVERLAY_bounds(), OVERLAY_camera_cache_populate(), OVERLAY_gpencil_cache_init(), OVERLAY_grid_init(), OVERLAY_particle_cache_populate(), OVERLAY_texture_space(), OVERLAY_volume_extra(), p_face_stretch(), p_vert_add(), p_vert_copy(), paint_2d_bucket_fill(), paint_brush_color_get(), paint_brush_stroke_add_step(), paint_cursor_context_init(), paint_cursor_sculpt_session_update_and_init(), paint_cursor_update_pixel_radius(), paint_draw_tex_overlay(), paint_line_strokes_spacing(), paint_mesh_restore_co_task_cb(), paint_proj_begin_clone(), paint_proj_stroke_ps(), paint_sample_color(), paint_space_stroke(), paintcurve_point_add(), PaintCurveConvertHandle(), PaintCurvePointToTransData(), palette_color_add_exec(), palette_join_exec(), palette_sort_exec(), partial_buffer_update_rect(), particle_batch_cache_fill_segments_edit(), particle_batch_cache_fill_segments_proc_pos(), particle_intersect_mesh(), particles_fluid_step(), pbvh_bmesh_node_raycast(), pbvh_bmesh_vert_create(), pbvh_faces_node_raycast(), pbvh_grids_node_raycast(), pchan_clear_rot(), PE_lasso_select(), PE_minmax(), PE_mirror_particle(), PE_update_mirror_cache(), pivotcon_evaluate(), plane_from_point_normal_v3(), plane_to_point_vector_v3(), planeMarkerToTransDataInit(), point_density_sample_func(), point_is_visible(), point_normals_apply(), pointcloud_batch_cache_ensure_pos(), pointdensity(), pointdensity_cache_object(), pointdensity_cache_psys(), pointdensity_color(), points_for_loose_edges_interpolation_get(), poly_rotate_plane(), pose_bone_do_paste(), pose_channel_flush_to_orig_if_needed(), pose_grab_with_ik_add(), pose_ik_chain_init_face_sets(), pose_ik_chain_init_face_sets_fk(), pose_ik_chain_init_topology(), pose_ik_chain_origin_heads_init(), pose_mirror_info_init(), pose_mirror_info_restore(), pose_solve_ik_chain(), pose_solve_scale_chain(), pose_topology_floodfill_cb(), poseAnim_mapping_reset(), position_tail_on_spline(), precalc_guides(), prepare_for_decimate(), proj_paint_state_screen_coords_init(), proj_paint_state_vert_flags_init(), proj_paint_state_viewport_init(), project_paint_PickFace(), project_paint_uvpixel_init(), project_to_edge(), psys_apply_child_modifiers(), psys_cache_edit_paths_iter(), psys_face_mat(), psys_get_birth_coords(), psys_get_dupli_path_transform(), psys_get_from_key(), psys_get_particle_on_path(), psys_get_texture(), psys_interpolate_face(), psys_mat_hair_to_object(), psys_mat_hair_to_orco(), psys_particle_on_dm(), psys_particle_on_emitter(), psys_particle_on_shape(), psys_thread_context_init_distribute(), psys_thread_create_path(), ptcache_cloth_extra_read(), ptcache_cloth_interpolate(), ptcache_softbody_interpolate(), put_postprocessed_frame_to_cache(), py_bvhtree_nearest_point_range_cb(), quad_co(), quad_verts_to_barycentric_tri(), Quaternion_matmul(), raycast_all_cb(), raycastEditMesh(), raycastMesh(), RE_bake_normal_world_to_object(), RE_bake_normal_world_to_tangent(), RE_bake_normal_world_to_world(), RE_point_density_minmax(), read_displacement_grid(), recalc_emitter_field(), recalcData_edit_armature(), reference_to_scratch(), rekey_particle(), rekey_particle_to_time(), remap_hair_emitter(), remove_doubles_exec(), remove_tagged_keys(), reshape_subdiv_refine_final_P(), restoreBones(), restoreElement(), rotateBevelPiece(), rotateDifferentialCoordinates(), rotlike_evaluate(), rotlimit_evaluate(), rule_average_speed(), rule_avoid_collision(), rule_fight(), rule_follow_leader(), rule_goal_avoid(), sample_color_invoke(), 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(), scale_point_factor(), scopes_update_cb(), SCULPT_bmesh_four_neighbor_average(), sculpt_boundary_bend_data_init(), sculpt_boundary_edit_data_init(), sculpt_boundary_indices_init(), sculpt_boundary_slide_data_init(), sculpt_boundary_twist_data_init(), SCULPT_brush_test_init(), SCULPT_calc_area_center(), SCULPT_calc_area_normal_and_center(), SCULPT_calc_brush_plane(), SCULPT_cloth_brush_simulation_init(), SCULPT_cloth_brush_store_simulation_state(), sculpt_cloth_filter_invoke(), sculpt_cloth_filter_modal(), sculpt_combine_proxies_task_cb(), SCULPT_cursor_geometry_info_update(), SCULPT_do_clay_brush(), SCULPT_do_clay_strips_brush(), SCULPT_do_clay_thumb_brush(), SCULPT_do_elastic_deform_brush(), SCULPT_do_grab_brush(), SCULPT_do_multiplane_scrape_brush(), SCULPT_do_nudge_brush(), SCULPT_do_paint_brush(), SCULPT_do_pinch_brush(), SCULPT_do_pose_brush(), SCULPT_do_snake_hook_brush(), SCULPT_do_thumb_brush(), sculpt_elastic_transform_task_cb(), sculpt_expand_cache_initial_config_set(), sculpt_face_sets_change_visibility_exec(), SCULPT_fake_neighbor_search(), sculpt_flush_pbvhvert_deform(), SCULPT_flush_stroke_deform_task_cb(), SCULPT_geometry_preview_lines_update(), sculpt_gesture_context_init_common(), sculpt_gesture_trim_shape_origin_normal_get(), sculpt_kelvinet_integrate(), sculpt_mask_by_color_contiguous(), sculpt_mask_expand_invoke(), sculpt_mask_expand_modal(), SCULPT_nearest_vertex_get(), SCULPT_neighbor_coords_average(), SCULPT_neighbor_coords_average_interior(), sculpt_pose_align_pivot_local_space(), SCULPT_pose_calc_pose_data(), sculpt_pose_do_rotate_deform(), sculpt_pose_do_scale_deform(), sculpt_pose_do_squash_stretch_deform(), sculpt_pose_grow_pose_factor(), sculpt_project_v3_cache_init(), SCULPT_relax_vertex(), sculpt_set_persistent_base_exec(), sculpt_set_pivot_position_exec(), SCULPT_stroke_get_location(), sculpt_stroke_update_step(), SCULPT_tilt_effective_normal_get(), SCULPT_topology_automasking_init(), sculpt_topology_update(), sculpt_transform_matrices_init(), sculpt_transform_task_cb(), sculpt_trim_gesture_box_invoke(), sculpt_trim_gesture_lasso_invoke(), SCULPT_undo_push_node(), sculpt_undo_restore_deformed(), sculpt_undo_restore_list(), sculpt_undo_store_coords(), sculpt_update_brush_delta(), sculpt_update_cache_invariants(), sculpt_update_cache_variants(), SCULPT_vertcos_to_key(), SCULPT_vertex_limit_surface_get(), SCULPT_vertex_normal_get(), SCULPT_vertex_persistent_normal_get(), select_id_object_min_max(), SeqToTransData(), set_axis(), blender::compositor::ConstantLevelColorCurveOperation::set_black_level(), set_coarse_positions(), blender::compositor::ColorBalanceLGGOperation::set_gain(), blender::compositor::ColorBalanceLGGOperation::set_gamma_inv(), blender::compositor::ColorBalanceLGGOperation::set_lift(), set_mapped_co(), blender::io::usd::USDMaterialReader::set_node_input(), blender::compositor::ColorBalanceASCCDLOperation::set_offset(), set_origin_exec(), set_plane_exec(), blender::compositor::ColorBalanceASCCDLOperation::set_power(), set_profile_params(), set_prop_dist(), blender::io::obj::set_property_of_socket(), blender::compositor::ColorBalanceASCCDLOperation::set_slope(), blender::bke::set_transform_position(), set_tspace(), set_vertex_data_from_orco(), blender::bke::set_vertex_position(), blender::compositor::ConstantLevelColorCurveOperation::set_white_level(), setNearestAxis3d(), setup_vertex_point(), shape_propagate(), shapekey_layers_to_keyblocks(), shrinkwrap_calc_nearest_surface_point_cb_ex(), shrinkwrap_calc_nearest_vertex_cb_ex(), shrinkwrap_calc_normal_projection_cb_ex(), shrinkwrap_get_tarmat(), shrinkwrap_snap_with_side(), SIM_cloth_solve(), SIM_hair_volume_create_vertex_grid(), SIM_hair_volume_grid_geometry(), SIM_hair_volume_grid_velocity(), SIM_mass_spring_force_spring_bending_hair(), similar_face_select_exec(), similar_vert_select_exec(), SimpleDeformModifier_do(), skin_armature_bone_create(), skin_smooth_hulls(), slide_dist(), smart_uv_project_calculate_project_normals(), snap_calc_view3d_fn(), snap_curs_to_sel_ex(), snap_grid_apply(), snap_mesh_edge_verts_mixed(), snap_mesh_polygon(), snap_sel_to_grid_exec(), snap_selected_to_location(), snap_target_grid_ensure(), snap_to_pipe_profile(), snapCamera(), snapEditMesh(), snapMesh(), softbody_apply_forces(), softbody_apply_goalsnap(), softbody_reset(), softbody_restore_prev_step(), softbody_to_object(), softbody_update_positions(), solve_parenting(), sort_bmelem_flag(), sph_force_cb(), sph_particle_courant(), sphere_do(), spin_invoke(), splineik_evaluate_bone(), split_faces_prepare_new_verts(), split_faces_split_new_verts(), split_loop_nor_fan_do(), split_loop_nor_single_do(), spring_hairbend_estimate_dfdv(), spring_hairbend_estimate_dfdx(), spring_hairbend_forces(), springs_from_mesh(), square_out_adj_vmesh(), state_link_add(), blender::io::obj::OBJMesh::store_normal_coords_and_indices(), store_vertex_data(), stretchto_evaluate(), stroke_elem_project(), stroke_elem_project_fallback(), stroke_march_count(), stroke_march_next_point(), stroke_march_next_point_no_interp(), studiolight_create_matcap_gputexture(), studiolight_lights_eval(), subdiv_accumulate_vertex_displacement(), subdiv_mesh_vertex_corner(), subdiv_vertex_orco_evaluate(), subdivide_particle(), subdividenurb(), surfaceGenerateGrid(), svert_from_mvert(), target_callback(), target_project_edge(), target_project_solve_point_tri(), target_project_tri_jacobian(), TargetSnapCenter(), TargetSnapClosest(), tc_mesh_cdata_transdata_create(), tc_mesh_skin_apply_to_mirror(), tc_mesh_skin_transdata_create(), tc_mesh_transdata_center_copy(), tc_mesh_transdata_mirror_apply(), test_projected_edge_dist(), test_projected_vert_dist(), blender::bke::tests::test_vec_roll_to_mat3_normalized(), TimeToTransData(), blender::io::stl::STLMeshHelper::to_mesh(), to_sphere_radius_update(), tonemapmodifier_apply_threaded_photoreceptor(), tonemapmodifier_apply_threaded_simple(), trace_initialize_job_data(), track_channel_color(), track_colors(), track_copy_color_exec(), transdata_center_global_get(), transdata_elem_bend(), transdata_elem_push_pull(), transdata_elem_rotate(), transdata_elem_to_sphere(), transdata_elem_translate(), transdata_restore_basic(), transform_convert_clip_mirror_modifier_apply(), transform_convert_mesh_islands_calc(), transform_data_ext_rotate(), transform_evaluate(), transform_pivot_set_m4(), transform_snap_context_project_view3d_mixed_impl(), AnimationImporter::translate_animation_OLD(), tri_corner_adj_vmesh(), tri_to_quat_ex(), blender::ed::curves::convert_to_particle_system::try_convert_single_object(), ui_apply_but(), ui_block_colorpicker(), ui_block_func_COLOR(), ui_block_open_begin(), ui_but_drag_init(), ui_but_set_float_array(), ui_but_v3_get(), ui_but_v3_set(), ui_color_picker_update_hsv(), ui_draw_but_HSVCIRCLE(), ui_draw_but_HSVCUBE(), ui_draw_but_UNITVEC(), ui_draw_gradient(), ui_handle_button_return_submenu(), ui_numedit_begin(), ui_numedit_but_HSVCIRCLE(), ui_numedit_but_HSVCUBE(), ui_tooltip_region_draw_cb(), ui_update_color_picker_buts_rgb(), update_hit(), update_location_for_2d_curve(), update_mapping_node_inputs_and_properties(), blender::compositor::ConvertColorToVectorOperation::update_memory_buffer_partial(), blender::compositor::ConvertVectorToColorOperation::update_memory_buffer_partial(), blender::compositor::ColorCurveOperation::update_memory_buffer_partial(), blender::compositor::ConstantLevelColorCurveOperation::update_memory_buffer_partial(), blender::compositor::ConvolutionEdgeFilterOperation::update_memory_buffer_partial(), blender::compositor::InvertOperation::update_memory_buffer_partial(), blender::compositor::SetAlphaReplaceOperation::update_memory_buffer_partial(), blender::compositor::TextureBaseOperation::update_memory_buffer_partial(), blender::compositor::MixColorOperation::update_memory_buffer_row(), blender::compositor::MixHueOperation::update_memory_buffer_row(), blender::compositor::MixSaturationOperation::update_memory_buffer_row(), update_sculpt_normal(), update_vector_math_node_normalize_operator(), update_world_cos(), updateDuplicateLocRotConstraintSettings(), uv_map_transform_center(), uvedit_unwrap_cube_project(), UVsToTransData(), v3d_cursor_poject_surface_normal(), v3d_cursor_snap_draw_fn(), v3d_cursor_snap_update(), v3d_object_dimension_buts(), vcloud_estimate_transform_v3(), vcos_get(), vcos_get_pair(), vec_apply_track(), vec_to_quat(), vectomat(), vector_from_float(), vectorfn(), vert2geom_task_cb_ex(), vert_slide_snap_apply(), blender::io::obj::OBJCurve::vertex_coordinates(), VertsToTransData(), view3d_boundbox_clip_m4(), view3d_boxview_copy(), view3d_camera_to_view_selected_impl(), view3d_interactive_add_begin(), view3d_interactive_add_calc_snap(), view3d_interactive_add_modal(), view3d_ob_drop_draw_activate(), view3d_ob_drop_matrix_from_snap(), view3d_orbit_calc_center(), view3d_preselect_update_preview_triangle_from_edge(), view3d_preselect_update_preview_triangle_from_vert(), view3d_ruler_add_invoke(), view3d_ruler_from_gpencil(), view3d_ruler_item_mousemove(), view3d_ruler_to_gpencil(), view3d_smooth_view_state_backup(), view3d_smooth_view_state_restore(), view3d_viewmatrix_set(), view3d_zoom_border_exec(), view_vector_calc(), view_zoom_to_window_xy_3d(), viewdolly_exec(), viewops_data_create(), viewrotate_apply(), viewrotate_apply_snap(), viewselected_exec(), visualkey_get_values(), vmesh_center(), vmesh_copy_equiv_verts(), voronoi_addTriangulationPoint(), VoronoiVertexWeight::VoronoiVertexWeight(), voxel_size_edit_invoke(), vpaint_do_symmetrical_brush_actions(), vpaint_proj_dm_map_cosnos_init__map_cb(), vpaint_proj_dm_map_cosnos_update__map_cb(), vwpaint_pbvh_gather_generic(), vwpaint_update_cache_invariants(), walk_floor_distance_get(), walk_ray_cast(), walkApply(), walkEvent(), warpModifier_do(), where_is_ik_bone(), whiteBalance_apply(), whiteBalance_apply_threaded(), WIDGETGROUP_armature_spline_setup(), WIDGETGROUP_navigate_draw_prepare(), WIDGETGROUP_tool_generic_refresh(), WIDGETGROUP_xform_shear_draw_prepare(), WM_gizmo_set_matrix_location(), WM_gizmo_set_matrix_offset_location(), wm_gizmo_set_matrix_rotation_from_z_axis__internal(), WM_xr_action_binding_create(), WM_xr_action_state_get(), wm_xr_draw_matrices_create(), wm_xr_fly_compute_move(), wm_xr_grab_compute(), wm_xr_grab_update(), wm_xr_navigation_grab_bimanual_state_update(), wm_xr_navlocks_apply(), wm_xr_pose_to_mat(), wm_xr_raycast_update(), wm_xr_session_base_pose_calc(), wm_xr_session_controller_data_update(), wm_xr_session_draw_data_update(), wm_xr_session_event_create(), WM_xr_session_state_controller_aim_location_get(), WM_xr_session_state_controller_grip_location_get(), WM_xr_session_state_nav_location_get(), WM_xr_session_state_nav_location_set(), wm_xr_session_state_update(), WM_xr_session_state_viewer_pose_location_get(), workbench_material_ubo_data(), workbench_shadow_data_update(), workbench_shadow_update(), workbench_studiolight_data_update(), workbench_update_world_ubo(), workbench_volume_material_color(), world_to_root_v3(), wpaint_do_symmetrical_brush_actions(), write_face_grid_in_unsubdivide_grid(), and write_loop_in_face_grid().

◆ copy_v3_v3_char()

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

Definition at line 137 of file math_vector_inline.c.

References Freestyle::a, and r.

◆ copy_v3_v3_db()

MINLINE void copy_v3_v3_db ( double  r[3],
const double  a[3] 
)

◆ copy_v3_v3_int()

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

◆ copy_v3_v3_short()

MINLINE void copy_v3_v3_short ( short  r[3],
const short  a[3] 
)

◆ copy_v3_v3_uchar()

MINLINE void copy_v3_v3_uchar ( unsigned char  r[3],
const unsigned char  a[3] 
)

◆ copy_v3db_v3fl()

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

◆ copy_v3fl_v3db()

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

◆ copy_v3fl_v3s()

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

Definition at line 49 of file math_vector_inline.c.

References Freestyle::a, float(), and r.

◆ copy_v4_fl()

MINLINE void copy_v4_fl ( float  r[4],
float  f 
)

◆ copy_v4_fl4()

MINLINE void copy_v4_fl4 ( float  v[4],
float  x,
float  y,
float  z,
float  w 
)

◆ copy_v4_uchar()

MINLINE void copy_v4_uchar ( unsigned char  r[4],
const unsigned char  a 
)

Definition at line 121 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by blender::bke::pbvh::pixels::apply_watertight_check().

◆ copy_v4_v4()

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

Definition at line 56 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by add_ibuf_size(), apply_objects_internal(), BCQuat::BCQuat(), bicubic_interpolation(), BKE_fluid_modifier_copy(), BKE_gpencil_convert_mesh(), BKE_gpencil_data_copy_settings(), BKE_gpencil_layer_addnew(), BKE_gpencil_layer_copy_settings(), BKE_gpencil_palettecolor_addnew(), BKE_gpencil_stroke_copy_settings(), BKE_gpencil_stroke_sample(), BKE_gpencil_stroke_set_random_color(), BKE_gpencil_stroke_subdivide(), BKE_gpencil_stroke_uniform_subdivide(), BKE_gpencil_stroke_update_geometry_from_editcurve(), BKE_histogram_update_sample_line(), BKE_image_add_generated(), BKE_image_buf_fill_color(), BKE_object_transform_copy(), BKE_pbvh_get_frustum_planes(), BKE_pbvh_set_frustum_planes(), BKE_scene_cursor_mat3_to_rot(), BKE_scene_cursor_quat_to_rot(), blend_color_add_alpha_float(), blend_color_add_float(), blend_color_burn_float(), blend_color_color_float(), blend_color_darken_float(), blend_color_difference_float(), blend_color_dodge_float(), blend_color_erase_alpha_float(), blend_color_exclusion_float(), blend_color_hardlight_float(), blend_color_hue_float(), blend_color_lighten_float(), blend_color_linearburn_float(), blend_color_linearlight_float(), blend_color_luminosity_float(), blend_color_mix_float(), blend_color_mul_float(), blend_color_overlay_float(), blend_color_pinlight_float(), blend_color_saturation_float(), blend_color_screen_float(), blend_color_softlight_float(), blend_color_sub_float(), blend_color_vividlight_float(), BLF_buffer_col(), blf_draw_buffer__start(), BLI_bvhtree_find_nearest_projected(), BLI_bvhtree_intersect_plane(), blo_do_versions_250(), blo_do_versions_270(), blo_do_versions_290(), blender::compositor::blur_pixel(), brush_painter_imbuf_update(), buf_rectfill_area(), blender::nodes::decl::Color::build(), cache_key_incremental_rotation(), blender::nodes::node_shader_tex_brick_cc::BrickFunction::call(), color_filter_task_cb(), colorband_init_from_table_rgba_resample(), colorband_init_from_table_rgba_simple(), colorfn(), compute_sss_kernel(), blender::imbuf::transform::ChannelConverter< StorageType, SourceNumChannels, DestinationNumChannels >::convert_and_store(), copy_stack(), blender::io::gpencil::GpencilImporter::create_material(), deformStroke(), dial_ghostarc_draw(), do_hue_sat_fac(), blender::compositor::RenderLayersProg::do_interpolation(), do_proc(), do_projectpaint_thread(), do_smear_brush_task_cb_exec(), do_versions_fix_annotations(), do_versions_socket_default_value_259(), draw_anti_tria(), draw_axes(), draw_keylist_ui_data_init(), draw_points(), DRW_cache_gpencil_sbuffer_stroke_data_get(), drw_call_obinfos_init(), DRW_debug_line_v3v3(), DRW_debug_sphere(), DRW_draw_depth_object(), drw_shgroup_bone_envelope(), DRW_view_camtexco_get(), DRW_view_camtexco_set(), dynamic_paint_set_init_color_vcol_to_imseq_cb(), dynamic_paint_surface_pre_step_cb(), dynamicPaint_Modifier_copy(), dynamicPaint_setInitialColor(), dyntopo_detail_size_edit_invoke(), ED_gpencil_sbuffer_vertex_color_set(), ED_gpencil_trace_data_to_strokes(), ED_image_draw_info(), ED_node_sample_set(), ED_preview_shader_job(), ED_sculpt_init_transform(), ED_sculpt_update_modal_transform(), ED_view3d_mats_rv3d_backup(), ED_view3d_mats_rv3d_restore(), ElementResize(), blender::compositor::BufferLineAccumulator< fxu, fxv, fyu, fyv >::eval(), blender::compositor::DespeckleOperation::execute_pixel(), blender::compositor::InpaintSimpleOperation::execute_pixel(), blender::compositor::VariableSizeBokehBlurOperation::execute_pixel(), blender::compositor::VectorBlurOperation::execute_pixel(), blender::compositor::AlphaOverKeyOperation::execute_pixel_sampled(), blender::compositor::AlphaOverMixedOperation::execute_pixel_sampled(), blender::compositor::AlphaOverPremultiplyOperation::execute_pixel_sampled(), blender::compositor::ColorSpillOperation::execute_pixel_sampled(), blender::compositor::ConvertPremulToStraightOperation::execute_pixel_sampled(), blender::compositor::ConvertStraightToPremulOperation::execute_pixel_sampled(), blender::compositor::KeyingDespillOperation::execute_pixel_sampled(), blender::compositor::SetColorOperation::execute_pixel_sampled(), blender::compositor::CompositorOperation::execute_region(), eyedropper_colorband_sample_point(), blender::bke::from_float(), FrsMaterial_mathutils_set_index(), get_bone_solid_color(), get_bone_solid_with_consts_color(), get_bone_wire_color(), gizmo2d_get_axis_color(), gizmo2d_resize_setup(), gizmo2d_xform_setup(), gizmo_color_get(), gizmo_get_axis_color(), gizmo_init(), gizmo_primitive_draw_intern(), gpencil_add_from_curve_material(), gpencil_add_guide_points(), gpencil_add_material(), gpencil_buffer_add_point(), gpencil_calc_points_factor(), gpencil_check_same_material_color(), gpencil_convert_old_files_exec(), gpencil_copy_move_point(), gpencil_copy_points(), gpencil_draw_basic_stroke(), gpencil_draw_datablock(), gpencil_draw_strokes(), gpencil_insert_points_to_stroke(), gpencil_insert_to_array(), gpencil_layer_cache_add(), gpencil_layer_duplicate_object_exec(), gpencil_layer_final_tint_and_alpha_get(), gpencil_light_pool_populate(), gpencil_lineart_material(), gpencil_material_pool_create(), gpencil_monkey_color(), gpencil_primitive_set_cp(), gpencil_save_selected_point(), gpencil_sbuffer_stroke_ensure(), gpencil_stroke_copy_point(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_join_islands(), gpencil_stroke_material(), gpencil_stroke_newfrombuffer(), gpencil_stroke_subdivide(), gpencil_subdivide_stroke(), gpencil_vertexpaint_set_exec(), gpencil_viewport_material_overrides(), GPU_batch_preset_panel_drag_widget(), gpu_batch_preset_rectf_tris_color_ex(), ibuf_get_color(), ibuf_sample(), image_buf_fill_color_slice(), image_flip_exec(), image_sample(), image_sample_apply(), image_sample_pixel_color_float(), IMB_buffer_float_from_float_mask(), IMB_colormanagement_imbuf_to_float_texture(), IMB_colormanagement_pixel_to_display_space_v4(), imb_stereo3d_read_interlace(), imb_stereo3d_write_interlace(), immUniformColor4f(), init_socket_cpp_value_from_property(), initTransInfo(), layerCopyValue_propcol(), layerDefault_propcol(), layerInterp_propcol(), lightbake_planar_ensure_view(), lineart_chain_append_point(), lineart_chain_prepend_point(), mesh_loops_to_tessdata(), multitex(), nearest_interpolation_color_fl(), new_sample_point_from_gp_point(), node_data_from_gpu_stack(), blender::ed::space_node::node_draw_link_bezier(), node_socket_init_default_value(), blender::ed::space_node::node_socket_outline_color_get(), blender::ed::space_node::node_socket_virtual_draw_color(), blender::ed::space_node::nodelink_batch_add_link(), nodestack_get_vec(), normalize_m4_m4(), normalize_m4_m4_ex(), ntree_shader_expand_socket_default(), OVERLAY_camera_cache_populate(), paint_2d_bucket_fill(), paint_2d_ibuf_rgb_get(), paint_2d_lift_soften(), partial_buffer_update_rect(), pixel_at_index(), blender::io::gpencil::GpencilIO::prepare_stroke_export_colors(), preview_prepare_scene(), project_paint_PickColor(), psys_map_index_on_dm(), put_postprocessed_frame_to_cache(), quat_split_swing_and_twist(), RE_texture_evaluate(), RVBlurBitmap2_float(), blender::ed::space_node::sample_apply(), scopes_update_cb(), sculpt_color_presmooth_init(), SCULPT_do_paint_brush(), sculpt_gesture_update_effected_nodes_by_line_plane(), sculpt_transform_matrices_init(), sequencer_sample_apply(), blender::compositor::SetColorOperation::set_channels(), set_pchan_color(), set_pixel(), blender::io::obj::set_property_of_socket(), blender::ed::space_node::std_node_socket_draw_color(), blender::ed::space_node::std_node_socket_interface_draw_color(), stroke_dash(), blender::bke::to_float(), tonemapmodifier_apply(), tonemapmodifier_apply_threaded_photoreceptor(), tonemapmodifier_apply_threaded_simple(), transform_snap_context_project_view3d_mixed_impl(), blender::ed::curves::convert_to_particle_system::try_convert_single_object(), blender::compositor::ConvertPremulToStraightOperation::update_memory_buffer_partial(), blender::compositor::ConvertStraightToPremulOperation::update_memory_buffer_partial(), blender::compositor::ColorSpillOperation::update_memory_buffer_partial(), blender::compositor::ConvertColorSpaceOperation::update_memory_buffer_partial(), blender::compositor::CropOperation::update_memory_buffer_partial(), blender::compositor::DespeckleOperation::update_memory_buffer_partial(), blender::compositor::HueSaturationValueCorrectOperation::update_memory_buffer_partial(), blender::compositor::KeyingDespillOperation::update_memory_buffer_partial(), blender::compositor::KeyingScreenOperation::update_memory_buffer_partial(), blender::compositor::TonemapOperation::update_memory_buffer_partial(), blender::compositor::PhotoreceptorTonemapOperation::update_memory_buffer_partial(), blender::compositor::VariableSizeBokehBlurOperation::update_memory_buffer_partial(), blender::compositor::ZCombineOperation::update_memory_buffer_partial(), blender::compositor::AlphaOverKeyOperation::update_memory_buffer_row(), blender::compositor::AlphaOverMixedOperation::update_memory_buffer_row(), blender::compositor::AlphaOverPremultiplyOperation::update_memory_buffer_row(), vector_from_float(), view3d_ruler_to_gpencil(), whiteBalance_apply_threaded(), WM_gizmo_get_color(), WM_gizmo_get_color_highlight(), WM_gizmo_set_color(), WM_gizmo_set_color_highlight(), WM_xr_session_state_viewer_pose_rotation_get(), workbench_shadow_update(), and blender::ed::sculpt_paint::paint::image::ImageBufferFloat4::write_pixel().

◆ copy_v4_v4_char()

MINLINE void copy_v4_v4_char ( char  r[4],
const char  a[4] 
)

Definition at line 144 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by image_flip_exec().

◆ copy_v4_v4_db()

MINLINE void copy_v4_v4_db ( double  r[4],
const double  a[4] 
)

◆ copy_v4_v4_int()

MINLINE void copy_v4_v4_int ( int  r[4],
const int  a[4] 
)

◆ copy_v4_v4_short()

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

Definition at line 167 of file math_vector_inline.c.

References Freestyle::a, and r.

◆ copy_v4_v4_uchar()

MINLINE void copy_v4_v4_uchar ( unsigned char  r[4],
const unsigned char  a[4] 
)

◆ copy_v4db_v4fl()

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

Definition at line 290 of file math_vector_inline.c.

References Freestyle::a, double(), and r.

◆ copy_v4fl_v4db()

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

Definition at line 267 of file math_vector_inline.c.

References Freestyle::a, float(), and r.

◆ cross_v2v2()

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

◆ cross_v2v2_db()

MINLINE double cross_v2v2_db ( const double  a[2],
const double  b[2] 
)

◆ cross_v3_v3v3()

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

Definition at line 938 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), BLI_assert, and r.

Referenced by angle_signed_on_axis_normalized_v3v3_v3(), angle_signed_on_axis_v3v3_v3(), applyShear(), armature_calc_roll_exec(), axis_angle_to_gimbal_axis(), axisProjection(), basic_rotate(), bend_angle(), bevel_build_cutoff(), bevel_list_smooth(), bezier_handle_calc_length_v3(), BKE_gpencil_stroke_2d_flat(), BKE_gpencil_stroke_2d_flat_ref(), BKE_gpencil_stroke_normal(), BKE_gpencil_stroke_stretch(), BKE_lnor_space_define(), BKE_multires_construct_tangent_matrix(), BKE_nurb_bezt_calc_plane(), BKE_nurb_bpoint_calc_plane(), BKE_subdiv_eval_limit_point_and_normal(), bm_decim_build_quadrics(), BM_edge_calc_face_tangent(), bm_edge_collapse_is_degenerate_flip(), BM_edge_is_convex(), BM_edge_rotate_check_degenerate(), BM_edgeloop_calc_normal_aligned(), bm_edgering_pair_interpolate(), BM_editselection_normal(), BM_editselection_plane(), bm_face_bisect_verts(), BM_loop_calc_face_normal(), BM_loop_calc_face_normal_safe_ex(), BM_loop_calc_face_normal_safe_vcos_ex(), BM_loop_calc_face_tangent(), bm_loop_flip_disp(), BM_loop_is_convex(), BM_loop_point_side_of_edge_test(), bm_vert_boundary_tangent(), bm_vert_pair_to_matrix(), bmo_edgenet_prepare_exec(), bmo_inset_region_exec(), bmo_triangle_fill_exec(), boid_body(), bridge_loop_pair(), brush_puff(), build_emats_stack(), cache_key_incremental_rotation(), calc_brush_local_mat(), calc_edge_mat(), calc_nor_area_tri(), calc_tangent_loop_accum(), calc_tangent_ortho(), camera_stereoscopy_extra(), cloth_brush_apply_brush_foces(), cloth_spring_angle(), collision_point_on_surface(), collision_response(), compute_collision_point_edge_tri(), compute_collision_point_tri_tri(), computeBindWeights(), connection_node_mat(), constraint_plane_calc(), contarget_get_mesh_mat(), cotangent_tri_weight_v3(), createSpaceNormal(), createSpaceNormalTangent(), cross_m3_v3m3(), curve_draw_event_add_first(), damptrack_do_transform(), deformStroke(), dist_signed_squared_to_corner_v3v3v3(), dist_squared_to_projected_aabb_precalc(), do_guides(), do_kink_spiral_deform(), do_physical_effector(), draw_primitive_view_impl(), ED_armature_ebone_roll_to_vector(), ED_view3d_depth_read_cached_normal(), edbm_dupli_extrude_cursor_invoke(), edge_edge_angle_less_than_180(), edges_angle_kind(), eevee_light_setup(), flush_pixel(), form_factor_quad(), geodesic_distance_propagate_across_triangle(), get_angular_velocity_vector(), get_next_loop(), gizmo_3d_dial_matrixbasis_calc(), gizmo_mesh_bisect_update_from_op(), gizmo_ruler_draw(), initBend(), interp_slerp_co_no_v3(), interp_weights_quad_v3(), is_edge_convex_v3(), is_negative_m3(), is_negative_m4(), is_quad_convex_v3(), is_quad_flip_v3(), is_quad_flip_v3_first_third_fast(), is_quad_flip_v3_first_third_fast_with_normal(), isect_line_line_epsilon_v3(), isect_line_line_strict_v3(), isect_line_segment_tri_epsilon_v3(), isect_line_segment_tri_v3(), isect_plane_plane_plane_v3(), isect_plane_plane_v3(), isect_planes_v3_fn(), isect_ray_line_v3(), isect_ray_ray_epsilon_v3(), isect_ray_tri_epsilon_v3(), isect_ray_tri_v3(), isect_seg_seg_v3(), isect_sweeping_sphere_tri_v3(), kelvinlet_twist(), knife_find_line_hits(), knifetool_draw_angle(), locktrack_evaluate(), blender::draw::loop_edge_factor_get(), M_Geometry_intersect_ray_tri(), make_bevel_list_3D_minimum_twist(), make_bevel_list_3D_tangent(), make_cube_corner_adj_vmesh(), make_unit_square_map(), map_to_plane_v2_v3v3(), mat4_look_from_origin(), mean_value_half_tan_v3(), mesh_bisect_interactive_calc(), minimum_twist_between_two_points(), minter_v3_v3v3v3_ref(), modifyMesh(), move_profile_plane(), move_weld_profile_planes(), nr_distance_to_edge(), nr_signed_distance_to_plane(), offset_in_plane(), offset_meet(), offset_meet_edge(), orient_mat_z_normalized(), orthogonalize_m3(), orthogonalize_m3_zero_axes_impl(), orthogonalize_m4(), orthogonalize_stable(), point_between_edges(), project_brush_radius(), psys_get_birth_coords(), psys_get_dupli_path_transform(), RE_bake_normal_world_to_tangent(), recalc_face_normals_find_index(), rotate(), rotateDifferentialCoordinates(), rotation_between_vecs_to_mat3(), rotation_between_vecs_to_quat(), RotationBetween(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), sculpt_boundary_bend_data_init(), SCULPT_do_clay_strips_brush(), SCULPT_do_clay_thumb_brush(), SCULPT_do_multiplane_scrape_brush(), SCULPT_do_nudge_brush(), SCULPT_do_paint_brush(), SCULPT_do_pinch_brush(), SCULPT_do_thumb_brush(), set_axis(), set_plane_exec(), set_profile_params(), shrinkwrap_build_boundary_data(), SIM_mass_spring_force_reference_frame(), splineik_evaluate_bone(), stretchto_evaluate(), surface_determineForceTargetPoints(), tan_calc_quat_v3(), tangent_from_uv_v3(), transform_orientations_create_from_axis(), triatomat(), vectomat(), Vector_cross(), view3d_interactive_add_modal(), viewrotate_apply(), volume_tri_tetrahedron_signed_v3_6x(), wm_gizmo_set_matrix_rotation_from_yz_axis__internal(), wm_xr_grab_compute_bimanual(), workbench_shadow_update(), and zero_axis_bias_m4().

◆ cross_v3_v3v3_db()

MINLINE void cross_v3_v3v3_db ( double  r[3],
const double  a[3],
const double  b[3] 
)

◆ cross_v3_v3v3_hi_prec()

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

Cross product suffers from severe precision loss when vectors are nearly parallel or opposite; doing the computation in double helps a lot.

Definition at line 946 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), BLI_assert, double(), float(), and r.

Referenced by damptrack_do_transform().

◆ dot_m3_v3_row_x()

MINLINE float dot_m3_v3_row_x ( const float  M[3][3],
const float  a[3] 
)

◆ dot_m3_v3_row_y()

MINLINE float dot_m3_v3_row_y ( const float  M[3][3],
const float  a[3] 
)

Definition at line 652 of file math_vector_inline.c.

References Freestyle::a, and M.

Referenced by BM_face_split_edgenet_connect_islands().

◆ dot_m3_v3_row_z()

MINLINE float dot_m3_v3_row_z ( const float  M[3][3],
const float  a[3] 
)

◆ dot_m4_v3_row_x()

MINLINE float dot_m4_v3_row_x ( const float  M[4][4],
const float  a[3] 
)

Has the effect of mul_mat3_m4_v3(), on a single axis. (no adding translation)

Definition at line 661 of file math_vector_inline.c.

References Freestyle::a, and M.

Referenced by dist_squared_to_projected_aabb(), object_warp_transverts_minmax_x(), and test_projected_vert_dist().

◆ dot_m4_v3_row_y()

MINLINE float dot_m4_v3_row_y ( const float  M[4][4],
const float  a[3] 
)

Definition at line 665 of file math_vector_inline.c.

References Freestyle::a, and M.

Referenced by dist_squared_to_projected_aabb(), and test_projected_vert_dist().

◆ dot_m4_v3_row_z()

MINLINE float dot_m4_v3_row_z ( const float  M[4][4],
const float  a[3] 
)

Definition at line 669 of file math_vector_inline.c.

References Freestyle::a, and M.

Referenced by ED_view3d_win_to_3d_on_plane(), and set_linehit_depth().

◆ dot_v2v2()

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

◆ dot_v2v2_db()

MINLINE double dot_v2v2_db ( const double  a[2],
const double  b[2] 
)

◆ dot_v3db_v3fl()

MINLINE double dot_v3db_v3fl ( const double  a[3],
const float  b[3] 
)

Definition at line 918 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and double().

Referenced by bm_decim_build_quadrics(), and isect_tri_tri_v3_ex().

◆ dot_v3v3()

MINLINE float dot_v3v3 ( const float  a[3],
const float  b[3] 
)

Definition at line 896 of file math_vector_inline.c.

References Freestyle::a, and usdtokens::b().

Referenced by _scan_for_ext_spring_forces(), accumulate_vertex_normals_poly_v3(), accumulate_vertex_normals_tri_v3(), accumulate_vertex_normals_v3(), action_flip_pchan(), add_vertex_invoke(), angle_normalized_v3v3(), angle_signed_on_axis_normalized_v3v3_v3(), angle_signed_on_axis_v3v3_v3(), apply_heights_callback(), apply_stroke_envelope(), area_tri_signed_v3(), axisProjection(), basic_rotate(), bend_angle(), bevel_build_cutoff(), bezier_handle_calc_length_v3(), BKE_camera_object_dof_distance(), BKE_gpencil_stroke_2d_flat(), BKE_gpencil_stroke_2d_flat_ref(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), BKE_mesh_remap_calc_loops_from_mesh(), BKE_object_empty_image_data_is_visible_in_view3d(), BKE_shrinkwrap_project_normal(), BLI_bvhtree_find_nearest_ex(), blinn_specular(), bm_decim_build_edge_cost_single__topology(), bm_decim_build_edge_cost_single_squared__topology(), bm_edge_calc_dissolve_error(), bm_edge_collapse_is_degenerate_flip(), BM_edge_is_convex(), bm_edge_is_delimit(), BM_edge_rotate_check_degenerate(), bm_edge_symmetry_check_cb(), bm_edge_tag_from_smooth(), bm_edge_tag_from_smooth_and_set_sharp(), bm_edgering_pair_interpolate(), bm_face_bisect_verts(), bm_face_calc_split_dot(), bm_face_split_by_concave(), bm_face_split_find(), BM_loop_calc_face_tangent(), BM_loop_is_convex(), bm_loop_normal_accum(), BM_loop_point_side_of_edge_test(), BM_mesh_calc_uvs_cone(), BM_mesh_edgeloops_calc_order(), bm_mesh_loops_calc_normals_for_loop(), bm_mesh_loops_split_lnor_fans(), bm_vert_boundary_tangent(), bm_vert_calc_normals_accum_loop(), bm_vert_pair_best_face_get(), bm_vert_pair_share_best_splittable_face_cb(), bm_vert_pair_to_matrix(), BM_verts_calc_normal_from_cloud_ex(), bmesh_quick_edgedraw_flag(), bmo_edgenet_prepare_exec(), bmo_extrude_face_region_exec(), bmo_inset_region_exec(), bmo_subdivide_edges_exec(), bmo_triangle_fill_exec(), boid_body(), boid_goal_signed_dist(), bridge_loop_pair(), bvh_callback(), bvhtree_ray_cast_data_precalc(), cache_key_incremental_rotation(), calc_area_normal_and_center_task_cb(), calc_edge_mat(), calc_initial_placement_point_from_view(), calc_min_radius_v3v3(), calc_tangent_loop_accum(), calc_tangent_ortho(), calc_tw_center(), calcEdgeSlide_mval_range(), calcVertSlideMouseActiveEdges(), camera_frame_fit_calc_from_data(), camera_to_frame_view_cb(), cast_ray_highpoly(), choose_winner(), clip_segment_v3_plane(), clip_segment_v3_plane_n(), closest_on_tri_to_point_v3(), closest_to_plane3_normalized_v3(), closest_to_plane3_v3(), closest_to_ray_v3(), cloth_calc_pressure_gradient(), cloth_collision_response_static(), cloth_selfcollision_response_static(), cloth_spring_angle(), collision_point_distance_with_normal(), collision_point_on_surface(), collision_response(), collision_sphere_to_edges(), collision_sphere_to_tri(), compare_len_v3v3(), compute_collision_point_edge_tri(), compute_collision_point_tri_tri(), computeImplictRotations(), computeNormalDisplacement(), connect_frames(), constraint_plane_calc(), constraint_snap_plane_to_edge(), constraints_rotation_impl(), correct_bone_roll_value(), cos_v3v3v3(), cotangent_tri_weight_v3(), create_kdop_hull(), blender::io::gpencil::GpencilIO::create_object_list(), cubic_tangent_factor_circle_v3(), curve_draw_event_add_first(), curve_draw_invoke(), damptrack_do_transform(), deflect_emitter_iter(), dist_signed_squared_to_corner_v3v3v3(), dist_signed_squared_to_plane3_v3(), dist_signed_to_plane3_v3(), dist_squared_ray_to_aabb_v3(), dist_squared_ray_to_seg_v3(), dist_squared_to_plane3_v3(), distfactor_to_bone(), do_cloth_brush_apply_forces_task_cb_ex(), do_displacement_smear_brush_task_cb_ex(), do_grab_brush_task_cb_ex(), do_guides(), do_kink(), do_pinch_brush_task_cb_ex(), do_smear_brush_task_cb_exec(), do_texture_effector(), do_topology_rake_bmesh_task_cb_ex(), do_topology_slide_task_cb_ex(), do_vpaint_brush_blur_loops(), do_vpaint_brush_blur_verts(), do_vpaint_brush_smear(), do_wpaint_brush_blur_task_cb_ex(), do_wpaint_brush_calc_average_weight_cb_ex(), do_wpaint_brush_draw_task_cb_ex(), do_wpaint_brush_smear_task_cb_ex(), doEdgeSplit(), dot_lfvector(), dot_v3_array_find_max_index(), dot_v3v3v3(), DRW_globals_update(), DRW_object_axis_orthogonal_to_view(), DRW_pass_sort_shgroup_z(), dynamic_paint_paint_mesh_cell_point_cb_ex(), ED_armature_ebone_roll_to_vector(), ED_view3d_calc_depth_for_comparison(), ED_view3d_clipping_calc_from_boundbox(), ED_view3d_cursor3d_position_rotation(), ED_view3d_distance_set_from_location(), ED_view3d_offset_distance(), edbm_face_split_by_edges_exec(), edbm_screw_exec(), edbm_select_axis_exec(), edbm_select_linked_flat_faces_exec(), edbm_select_sharp_edges_exec(), edge_edge_angle_less_than_180(), edge_wind_vertex(), edges_angle_kind(), eevee_light_setup(), EEVEE_lightprobes_planar_data_from_object(), effector_falloff(), eh_on_plane(), end_node_frames(), ff_normalize(), find_internal_spring_target_vertex(), form_factor_quad(), form_factor_visible_quad(), frontface(), GEO_uv_parametrizer_average(), geodesic_distance_propagate_across_triangle(), getTransformOrientation_ex(), getVerticalAndHorizontalChange(), gizmo_3d_dial_matrixbasis_calc(), gizmo_arrow_modal(), gizmo_bisect_prop_depth_get(), gizmo_bisect_prop_depth_set(), gizmo_dial_draw(), gizmo_dial_draw_select(), gizmo_find_intersected_3d_intern(), gizmo_get_idot(), gizmo_mesh_extrude_draw_prepare(), gizmo_mesh_extrude_refresh(), gizmo_spin_prop_depth_get(), gizmo_spin_prop_depth_set(), GPENCIL_engine_init(), gpencil_object_cache_add(), harmonic_ray_callback(), heat_source_distance(), hull_merge_triangles(), IMB_colormanagement_get_luminance(), IMB_colormanagement_get_luminance_byte(), InputHorizontalAbsolute(), InputVerticalAbsolute(), interp_v3_v3v3_slerp(), is_edge_convex_v3(), is_negative_m3(), is_negative_m4(), is_orthogonal_m3(), is_orthonormal_m3(), is_outside_edge(), is_quad_flip_v3(), is_quad_flip_v3_first_third_fast(), is_quad_flip_v3_first_third_fast_with_normal(), isect_line_line_epsilon_v3(), isect_line_line_strict_v3(), isect_line_plane_v3(), isect_line_segment_tri_epsilon_v3(), isect_line_segment_tri_v3(), isect_line_sphere_v3(), isect_planes_v3_fn(), isect_ray_line_v3(), isect_ray_plane_v3(), isect_ray_ray_epsilon_v3(), isect_ray_tri_epsilon_v3(), isect_ray_tri_v3(), isect_seg_seg_v3(), isect_sweeping_sphere_tri_v3(), isPlaneProjectionViewAligned(), knot_remove_error_value(), len_squared_v3v3(), len_squared_v3v3_with_normal_bias(), len_v3(), line_plane_factor_v3(), line_point_factor_v3_ex(), long_edge_queue_edge_add_recursive(), long_edge_queue_face_add(), blender::draw::loop_edge_factor_get(), M_Geometry_intersect_ray_tri(), mask_expand_floodfill_cb(), mask_expand_normal_floodfill_cb(), mat3_align_axis_to_v3(), mean_value_half_tan_v3(), merge_vert_dir(), mesh_calc_normals_poly_and_vertex_accum_fn(), mesh_edges_sharp_tag(), mesh_normals_loop_custom_set(), min_dist_dir_test(), MOD_lineart_chain_offset_towards_camera(), modifyMesh(), move_profile_plane(), move_weld_profile_planes(), mul_fmatrix_fvector(), muladd_fmatrix_fvector(), nearly_parallel_normalized(), neighbor_dirty_mask(), next_edgehalf_bev(), normalize_v3_v3_length(), nr_signed_distance_to_plane(), object_rand_transverts(), object_transform_axis_target_invoke(), object_transform_axis_target_modal(), offset_meet(), offset_meet_edge(), orthogonalize_m3(), orthogonalize_m4(), orthogonalize_stable(), p_face_stretch(), pipe_test(), plane_from_point_normal_v3(), plane_point_side_v3(), point_between_edges(), point_in_slice(), point_in_slice_as(), polygons_check_flip(), proj_paint_state_cavity_init(), proj_paint_state_vert_flags_init(), project_paint_uvpixel_mask(), project_plane_normalized_v3_v3v3(), project_plane_v3_v3v3(), project_v3_plane(), project_v3_v3(), project_v3_v3v3(), project_v3_v3v3_normalized(), psys_get_birth_coords(), psys_get_dupli_path_transform(), psys_thread_create_path(), quad_co(), ray_point_factor_v3_ex(), raycast_tri_backface_culling_test(), recalc_face_normals_find_index(), reflect_v3_v3v3(), resolve_tri_uv_v3(), rotate(), rotateDifferentialCoordinates(), rotation_between_vecs_to_mat3(), rotation_between_vecs_to_quat(), 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_bmesh_four_neighbor_average(), SCULPT_do_multiplane_scrape_brush(), sculpt_face_sets_init_normals_test(), sculpt_gesture_is_vertex_effected(), SCULPT_plane_trim(), sculpt_project_v3(), sculpt_project_v3_normal_align(), shell_v3v3_mid_normalized_to_dist(), shell_v3v3_normalized_to_dist(), short_edge_queue_face_add(), shrinkwrap_snap_with_side(), SIM_mass_spring_force_face_wind(), SIM_mass_spring_force_spring_angular(), SIM_mass_spring_force_spring_bending_hair(), SIM_mass_spring_force_spring_goal(), SIM_mass_spring_force_spring_linear(), smart_project_exec(), smart_uv_project_calculate_project_normals(), softbody_apply_forces(), sph_force_cb(), sphclassical_force_cb(), splineik_evaluate_bone(), split_loop_nor_fan_do(), spring_hairbend_forces(), blender::draw::statvis_calc_distort(), blender::draw::statvis_calc_thickness(), step_cost_3_v3_ex(), studiolight_evaluate_specular_radiance_buffer(), studiolight_lights_eval(), studiolight_spherical_harmonics_geomerics_eval(), surface_determineForceTargetPoints(), tangent_from_uv_v3(), target_project_edge(), target_project_solve_point_tri(), test_frustum_aabb(), transform_constraint_snap_axis_to_edge(), transform_constraint_snap_axis_to_face(), transform_snap_context_project_view3d_mixed_impl(), TransMat3ToSize(), UNUSED_FUNCTION(), update_location_for_2d_curve(), uvprojectModifier_do(), v3_dist_from_plane(), v3d_cursor_plane_draw(), v3d_cursor_poject_surface_normal(), v3d_cursor_snap_update(), vgroup_fix(), view3d_boxview_clip(), view3d_interactive_add_begin(), view3d_interactive_add_modal(), viewAxisCorrectCenter(), viewrotate_apply(), volume_tri_tetrahedron_signed_v3_6x(), voxel_size_edit_invoke(), vpaint_do_draw(), walk_ray_cast(), and WIDGETGROUP_xform_shear_draw_prepare().

◆ dot_v3v3_db()

MINLINE double dot_v3v3_db ( const double  a[3],
const double  b[3] 
)

◆ dot_v3v3v3()

MINLINE float dot_v3v3v3 ( const float  p[3],
const float  a[3],
const float  b[3] 
)

◆ dot_v4v4()

MINLINE float dot_v4v4 ( const float  a[4],
const float  b[4] 
)

◆ equals_v2v2()

MINLINE bool equals_v2v2 ( const float  v1[2],
const float  v2[2] 
)

◆ equals_v2v2_int()

MINLINE bool equals_v2v2_int ( const int  v1[2],
const int  v2[2] 
)

Definition at line 1335 of file math_vector_inline.c.

References v1, and v2.

Referenced by DRW_view_data_texture_list_size_validate(), and GPU_viewport_bind().

◆ equals_v3v3()

MINLINE bool equals_v3v3 ( const float  v1[3],
const float  v2[3] 
)

◆ equals_v3v3_int()

MINLINE bool equals_v3v3_int ( const int  v1[3],
const int  v2[3] 
)

Definition at line 1340 of file math_vector_inline.c.

References v1, and v2.

◆ equals_v4v4()

MINLINE bool equals_v4v4 ( const float  v1[4],
const float  v2[4] 
)

◆ equals_v4v4_int()

MINLINE bool equals_v4v4_int ( const int  v1[4],
const int  v2[4] 
)

◆ invert_v2()

MINLINE void invert_v2 ( float  r[2])

◆ invert_v3()

MINLINE void invert_v3 ( float  r[3])

◆ invert_v3_safe()

MINLINE void invert_v3_safe ( float  r[3])

Invert the vector, but leaves zero values as zero.

Definition at line 831 of file math_vector_inline.c.

References r.

Referenced by BKE_bone_parent_transform_invert(), and blender::tests::TEST().

◆ is_one_v3()

MINLINE bool is_one_v3 ( const float  v[3])

◆ is_zero_v2()

MINLINE bool is_zero_v2 ( const float  v[2])

◆ is_zero_v2_db()

MINLINE bool is_zero_v2_db ( const double  v[2])

Definition at line 1294 of file math_vector_inline.c.

References v.

◆ is_zero_v3()

MINLINE bool is_zero_v3 ( const float  v[3])

Definition at line 1284 of file math_vector_inline.c.

References v.

Referenced by apply_weights_vertex_normal(), applyarmature_process_selected_recursive(), applyAxisConstraintVec(), applyTranslation(), axis_dominant_v3_to_m3(), axis_dominant_v3_to_m3_negate(), axisProjection(), bevel_list_calc_bisect(), BKE_gpencil_prepare_eval_data(), BKE_gpencil_stroke_stretch(), BKE_gpencil_update_layer_transforms(), BKE_gpencil_visible_stroke_advanced_iter(), BKE_gpencil_visible_stroke_iter(), BKE_lnor_space_custom_normal_to_data(), BKE_mesh_validate_arrays(), BKE_subdiv_eval_limit_point_and_derivatives(), BKE_texture_mapping_init(), blo_do_versions_250(), blo_do_versions_260(), blo_do_versions_280(), BM_loop_calc_face_normal_safe_ex(), BM_loop_calc_face_normal_safe_vcos_ex(), BM_loop_interp_from_face(), bm_mesh_loops_custom_normals_set(), bmo_bisect_plane_exec(), bmo_spin_exec(), bmo_triangle_fill_exec(), bridge_loop_pair(), brush_puff(), calc_bbox(), calculate_profile_segments(), calculateCenter2D(), closest_to_ray_v3(), cloth_brush_apply_brush_foces(), cloth_calc_force(), cloth_continuum_step(), createSpaceNormal(), createSpaceNormalTangent(), curve_draw_event_add_first(), deformStroke(), do_topology_rake_bmesh_task_cb_ex(), doEdgeSlide(), dot_v3v3v3(), drawEdgeSlide(), dyntopo_detail_size_edit_invoke(), ED_getTransformOrientationMatrix(), ED_gpencil_stroke_check_collision(), edbm_screw_exec(), edbm_set_normals_from_faces_exec(), edbm_spin_exec(), EEVEE_lights_cache_add(), ElementRotation_ex(), generate_vert_coordinates(), getTransformOrientation_ex(), gizmo_bisect_prop_angle_get(), gizmo_bisect_prop_angle_set(), gizmo_mesh_spin_init_refresh(), gizmo_mesh_spin_redo_setup(), gizmo_spin_prop_axis_angle_get(), gizmo_spin_prop_axis_angle_set(), greasepencil_copy_data(), initResize(), is_zero_m3(), make_unit_square_map(), mdisp_in_mdispquad(), mesh_normals_loop_custom_set(), move_profile_plane(), move_weld_profile_planes(), blender::nodes::node_shader_bsdf_transparent_cc::node_shader_gpu_bsdf_transparent(), object_asset_dimensions_property(), project_line_gesture_apply_task_cb(), project_v3_v3v3(), ptcache_cloth_extra_write(), quat__axis_angle_sanitize(), quat_to_axis_angle(), SCULPT_do_clay_strips_brush(), SCULPT_do_clay_thumb_brush(), SCULPT_do_multiplane_scrape_brush(), SCULPT_do_pinch_brush(), SCULPT_relax_vertex(), sculpt_update_brush_delta(), stroke_elem_pressure_set(), stroke_elem_project_fallback(), tc_mesh_customdatacorrect_face_substitute_set(), tc_mesh_customdatacorrect_find_best_face_substitute(), tc_mesh_customdatacorrect_init_vert(), TEST(), transform_convert_mesh_islands_calc(), ui_numedit_but_HSVCIRCLE(), v3d_cursor_snap_update(), validSnappingNormal(), view3d_ob_drop_draw_activate(), and vpaint_proj_dm_map_cosnos_init__map_cb().

◆ is_zero_v3_db()

MINLINE bool is_zero_v3_db ( const double  v[3])

Definition at line 1299 of file math_vector_inline.c.

References v.

Referenced by project_v3_v3v3_db().

◆ is_zero_v4()

MINLINE bool is_zero_v4 ( const float  v[4])

◆ is_zero_v4_db()

MINLINE bool is_zero_v4_db ( const double  v[4])

Definition at line 1304 of file math_vector_inline.c.

References v.

◆ len_manhattan_v2()

MINLINE float len_manhattan_v2 ( const float  v[2])

Definition at line 997 of file math_vector_inline.c.

References fabsf, and v.

Referenced by gpencil_primitive_size(), gpencil_primitive_strength(), and len_manhattan_v2v2().

◆ len_manhattan_v2_int()

MINLINE int len_manhattan_v2_int ( const int  v[2])

Definition at line 1002 of file math_vector_inline.c.

References blender::math::abs(), and v.

Referenced by len_manhattan_v2v2_int(), and object_mouse_select_menu().

◆ len_manhattan_v2v2()

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

◆ len_manhattan_v2v2_int()

MINLINE int len_manhattan_v2v2_int ( const int  a[2],
const int  b[2] 
)

◆ len_manhattan_v3()

MINLINE float len_manhattan_v3 ( const float  v[3])

Definition at line 1007 of file math_vector_inline.c.

References fabsf, and v.

Referenced by len_manhattan_v3v3(), shrinkwrap_snap_with_side(), and target_project_solve_point_tri().

◆ len_manhattan_v3v3()

MINLINE float len_manhattan_v3v3 ( const float  a[3],
const float  b[3] 
)

Definition at line 1107 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), len_manhattan_v3(), and sub_v3_v3v3().

◆ len_squared_v2()

MINLINE float len_squared_v2 ( const float  v[2])

◆ len_squared_v2v2()

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

Definition at line 1059 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), dot_v2v2(), and sub_v2_v2v2().

Referenced by add_vertex_handle_cyclic_at_point(), armature_circle_doSelectJoint(), BKE_curveprofile_update(), BKE_image_find_nearest_tile_with_offset(), bm_face_split_edgenet_find_connection(), calcEdgeSlide_even(), calcEdgeSlide_mval_range(), calcVertSlideMouseActiveVert(), closest_seg_seg_v2(), curve_draw_event_add(), curve_draw_exec_precalc(), curve_draw_modal(), customdata_compare(), dist_squared_to_line_segment_v2(), dist_squared_to_line_v2(), dist_squared_to_projected_aabb(), do_circle_select_mball__doSelectElem(), do_projectpaint_thread(), ED_gpencil_stroke_nearest_to_ends(), ED_mask_feather_find_nearest(), ED_mask_point_find_nearest(), edbm_rip_edge_invoke(), edge_isect_ls_sort_cb(), freetypechar_to_vchar(), GEO_uv_find_pin_index(), get_shortest_pattern_side(), gizmo_arrow_test_select(), gizmo_axis_test_select(), gpencil_calc_factor(), gpencil_stroke_need_flip(), isect_seg_seg_v2_point_ex(), isPolyValid(), knife_find_closest_vert_of_edge(), knife_find_line_hits(), knife_sample_screen_density_from_closest_face(), knife_snap_edge_constrained(), latticecurve_circle_doSelect(), layerEqual_mloop_origspace(), layerEqual_mloopuv(), maskrasterize_spline_differentiate_point_outset(), mesh_circle_doSelectFace(), mesh_circle_doSelectVert(), mouse_mesh_loop(), nurbscurve_circle_doSelect(), object_circle_select(), paint_smooth_stroke(), paint_vertsel_circle_select_doSelectVert(), pchan_circle_doSelectJoint(), project_paint_face_init(), setup_vertex_point(), slide_point_modal(), spline_under_mouse_get(), test_projected_vert_dist(), testVoronoiEdge(), ui_do_but_CURVE(), ui_do_but_CURVEPROFILE(), ui_mouse_motion_towards_check(), ui_pie_handler(), updateSelectedSnapPoint(), uv_find_nearest_loop_from_vert(), uv_nearest_grid_tile_distance(), uv_nearest_image_tile_distance(), uvedit_line_update_endpoint(), uvedit_nearest_uv(), view3d_ruler_pick(), voronoi_checkCircle(), voronoi_createBoundaryEdges(), voronoi_getNextSideCoord(), and vpaint_proj_dm_map_cosnos_update__map_cb().

◆ len_squared_v2v2_db()

MINLINE double len_squared_v2v2_db ( const double  a[2],
const double  b[2] 
)

Definition at line 1067 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), dot_v2v2_db(), and sub_v2_v2v2_db().

◆ len_squared_v3()

MINLINE float len_squared_v3 ( const float  v[3])

Definition at line 987 of file math_vector_inline.c.

References v.

Referenced by adj_vmesh(), area_squared_poly_v3(), area_squared_tri_v3(), bezier_handle_calc_length_v3(), BKE_mesh_mirror_apply_mirror_on_axis_for_modifier(), BKE_object_empty_image_data_is_visible_in_view3d(), BKE_pbvh_bmesh_update_topology(), BLI_newton3d_solve(), BLI_scanfill_calc_ex(), bm_edge_collapse_is_degenerate_flip(), bm_edgexedge_isect_impl(), bm_edgexvert_isect_impl(), BM_face_calc_tangent_edge_diagonal(), BM_face_calc_tangent_edge_pair(), BM_face_calc_tangent_vert_diagonal(), BM_loop_calc_face_normal_safe_ex(), BM_loop_calc_face_normal_safe_vcos_ex(), BM_verts_calc_normal_from_cloud_ex(), bmo_inset_region_exec(), bmo_triangle_fill_exec(), bridge_loop_pair(), calc_min_radius_v3v3(), closest_to_plane3_v3(), closest_to_plane_v3(), cloth_collision(), cloth_collision_impulse_vert(), cloth_selfcollision(), contarget_get_mesh_mat(), deformStroke(), densfunc(), dist_signed_squared_to_corner_v3v3v3(), dist_signed_squared_to_plane3_v3(), dist_signed_squared_to_plane_v3(), dist_signed_to_plane3_v3(), dist_signed_to_plane_v3(), dist_squared_ray_to_seg_v3(), dist_squared_to_plane3_v3(), dist_squared_to_plane_v3(), distfactor_to_bone(), draw_frustum_bound_sphere_calc(), ease_handle_axis(), ED_view3d_update_viewmat(), EEVEE_lightprobes_grid_data_from_object(), hair_collision(), has_zero_axis_m4(), is_quad_convex_v3(), is_uniform_scaled_m3(), isect_line_sphere_v3(), isect_plane_plane_v3(), isect_planes_v3_fn(), isect_point_tri_v3(), isect_ray_line_v3(), isect_ray_plane_v3(), isect_ray_ray_epsilon_v3(), isect_seg_seg_v3(), len_squared_v3v3_with_normal_bias(), line_point_factor_v3_ex(), mask_calc_point_handle(), mat3_to_size_max_axis(), mat4_to_dquat(), mat4_to_size_max_axis(), blender::geometry::mesh_merge_by_distance_connected(), mid_v3_angle_weighted(), MOD_solidify_nonmanifold_modifyMesh(), nearest_world_tree_co(), orthogonalize_m3_zero_axes_impl(), orthogonalize_stable(), plane_to_point_vector_v3(), project_v3_plane(), ray_point_factor_v3_ex(), recalc_face_normals_find_index(), rotateDifferentialCoordinates(), sculpt_project_v3_cache_init(), SCULPT_search_sphere_cb(), shrinkwrap_calc_normal_projection(), state_step__face_edges(), state_step__face_verts(), ui_draw_but_CURVE(), ui_draw_but_CURVEPROFILE(), v3d_editvertex_buts(), walkApply(), and zero_axis_bias_m4().

◆ len_squared_v3_db()

MINLINE double len_squared_v3_db ( const double  v[3])

Definition at line 992 of file math_vector_inline.c.

References v.

◆ len_squared_v3v3()

MINLINE float len_squared_v3v3 ( const float  a[3],
const float  b[3] 
)

Definition at line 1075 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), dot_v3v3(), and sub_v3_v3v3().

Referenced by alter_co(), applyTranslation(), armature_fill_bones_exec(), bevel_build_cutoff(), bevel_reattach_wires(), BKE_gpencil_stroke_join(), BKE_gpencil_stroke_merge_distance(), BKE_mesh_mirror_apply_mirror_on_axis_for_modifier(), BKE_mesh_remap_calc_edges_from_mesh(), BKE_mesh_remap_calc_loops_from_mesh(), BKE_mesh_remap_calc_verts_from_mesh(), BKE_nurb_handles_autocalc(), BKE_pbvh_bmesh_node_raycast_detail(), bm_decim_build_edge_cost_single_squared__topology(), BM_edge_calc_length_squared(), BM_edge_rotate_check_beauty(), bm_edge_symmetry_check_cb(), bm_edgexedge_isect_impl(), bm_edgexvert_isect_impl(), BM_face_calc_tangent_edge_pair(), BM_face_find_longest_loop(), BM_face_find_shortest_loop(), BM_face_is_normal_valid(), bm_face_split_edge_find(), BM_face_triangulate(), bm_isect_edge_tri(), bm_isect_tri_tri(), BM_loop_find_next_nodouble(), BM_loop_find_prev_nodouble(), BM_mesh_edgeloops_calc_order(), BM_mesh_intersect(), BM_mesh_intersect_edges(), bm_vert_tri_find_unique_edge(), BM_verts_calc_normal_from_cloud_ex(), bmbvh_find_face_closest_cb(), bmbvh_find_vert_closest_cb(), bmbvh_overlap_cb(), bmo_inset_region_exec(), bmo_planar_faces_exec(), bone_length_squared_worldspace_get(), boundary_initial_vertex_floodfill_cb(), blender::draw::bvh_overlap_cb(), calc_nearest_point_squared(), calc_overlap(), cast_ray_highpoly(), closer_v3_v3v3v3(), cloth_calc_helper_forces(), compute_collision_point_edge_tri(), compute_collision_point_tri_tri(), dist_squared_to_line_segment_v3(), dist_squared_to_line_v3(), dist_squared_to_ray_v3_normalized(), distfactor_to_bone(), dm_mvert_map_doubles(), do_cloth_brush_build_constraints_task_cb_ex(), do_fake_neighbor_search_task_cb(), do_nearest_vertex_get_task_cb(), draw_culling_sphere_test(), draw_frustum_bound_sphere_calc(), ED_armature_from_edit(), ED_gpencil_stroke_close_by_distance(), EDBM_verts_mirror_cache_begin_ex(), edge_length_squared_worldspace_get(), edge_queue_tri_in_circle(), edge_queue_tri_in_sphere(), edge_verts_sort(), editmesh_looptri_nearest_point(), blender::bke::mesh_surface_sample::MeshAttributeInterpolator::ensure_nearest_weights(), blender::ed::curves::convert_to_particle_system::find_mface_for_root_position(), frustum_min_bounding_sphere(), gpencil_add_verts_to_dgroups(), gpencil_get_nearest_stroke_index(), gpencil_hook_co_apply(), hook_co_apply(), interp_slerp_co_no_v3(), is_quad_symmetric(), mesh_edges_nearest_point(), mesh_edges_spherecast(), mesh_faces_nearest_point(), mesh_looptri_nearest_point(), mesh_looptri_target_project(), mesh_remap_bvhtree_query_nearest(), mesh_remap_interp_poly_data_get(), mesh_remove_doubles_on_axis(), mesh_symmetry_snap_exec(), mesh_tris_nearest_point_dp(), MOD_solidify_extrude_modifyMesh(), nearestVert(), new_sample_edge_from_sample_points(), object_orient_to_location(), optimal_check_callback(), pbvh_bmesh_collapse_short_edges(), pbvh_bmesh_node_raycast(), pbvh_bmesh_subdivide_long_edges(), pbvh_faces_node_raycast(), pbvh_grids_node_raycast(), pose_topology_floodfill_cb(), projected_boundary_area(), py_bvhtree_nearest_point_range_cb(), py_bvhtree_overlap_cb(), SCULPT_brush_test_circle_sq(), SCULPT_brush_test_sphere(), SCULPT_brush_test_sphere_fast(), SCULPT_brush_test_sphere_sq(), SCULPT_geodesic_mesh_create(), SCULPT_geometry_preview_lines_update(), SCULPT_is_vertex_inside_brush_radius_symm(), sculpt_update_brush_delta(), set_mapped_co(), shrinkwrap_calc_nearest_surface_point_cb_ex(), shrinkwrap_calc_nearest_vertex_cb_ex(), shrinkwrap_calc_normal_projection_cb_ex(), skin_choose_quad_bridge_order(), snap_mesh_edge_verts_mixed(), sort_bmelem_flag(), sort_verts_by_dist_cb(), tc_mesh_customdatacorrect_apply_vert(), transform_snap_distance_len_squared_fn(), ui_draw_but_CURVE(), ui_draw_but_CURVEPROFILE(), update_hit(), vert2geom_task_cb_ex(), viewrotate_apply(), and warpModifier_do().

◆ len_squared_v4v4()

MINLINE float len_squared_v4v4 ( const float  a[4],
const float  b[4] 
)

◆ len_v2()

MINLINE float len_v2 ( const float  v[2])

◆ len_v2_db()

MINLINE double len_v2_db ( const double  v[2])

Definition at line 1017 of file math_vector_inline.c.

References sqrt(), and v.

◆ len_v2v2()

MINLINE float len_v2v2 ( const float  v1[2],
const float  v2[2] 
)

Definition at line 1022 of file math_vector_inline.c.

References sqrtf, v1, v2, x, and y.

Referenced by angle_normalized_v2v2(), annotation_add_missing_events(), BKE_gpencil_stroke_length(), BKE_gpencil_stroke_segment_length(), BKE_mask_calc_handle_adjacent_interp(), BLI_polyfill_beautify_quad_rotate_calc_ex(), BM_face_uv_calc_center_median_weighted(), blender::compositor::DistanceYCCMatteOperation::calculate_distance(), computeBindWeights(), curve_draw_exec_precalc(), curveprofile_distance_to_next_table_point(), curveprofile_total_length(), draw_distortion(), draw_fcurve_curve_bezts(), edbm_rip_edge_side_measure(), edbm_rip_edgedist_squared(), geodesic_distance_propagate_across_triangle(), get_uv_edge_needle(), gizmo_preselect_elem_test_select(), gizmo_ruler_draw(), gpencil_add_fake_points(), gpencil_calc_points_factor(), gpencil_primitive_edit_event_handling(), gpencil_speed_guide_init(), gradientVert_update(), interp_weights_uv_v2_calc(), knife_find_line_hits(), knifetool_draw_angle(), lineart_chain_fix_ambiguous_segments(), lineart_chain_get_closest_cre(), mask_spline_feather_differentiated_points_with_resolution__double(), MOD_lineart_chain_compute_length(), normalization_factor_get(), p_chart_minimum_area_angle(), p_edge_uv_length(), p_rectangle_area(), paint_weight_gradient_exec(), plane_marker_size_len_in_pixels(), project_brush_radius(), SCULPT_brush_test_cube(), ui_numedit_but_HSVCIRCLE(), blender::ed::sculpt_paint::update_curve_mask(), update_cut_data_for_nurb(), and verttag_add_adjacent_uv().

◆ len_v2v2_db()

MINLINE double len_v2v2_db ( const double  v1[2],
const double  v2[2] 
)

Definition at line 1031 of file math_vector_inline.c.

References sqrt(), v1, v2, x, and y.

◆ len_v2v2_int()

MINLINE float len_v2v2_int ( const int  v1[2],
const int  v2[2] 
)

◆ len_v3()

MINLINE float len_v3 ( const float  a[3])

Definition at line 1049 of file math_vector_inline.c.

References Freestyle::a, dot_v3v3(), and sqrtf.

Referenced by apply_boid_rule(), apply_stroke_envelope(), area_poly_v3(), area_tri_signed_v3(), area_tri_v3(), arrayModifier_doArray(), basic_force_cb(), basic_rotate(), BKE_armature_where_is_bone(), BKE_gpencil_stroke_stretch(), BKE_gpencil_stroke_trim(), BKE_object_dimensions_set_ex(), BKE_pose_rest(), BKE_volume_density_scale(), BLI_newton3d_solve(), BM_face_calc_area(), BM_face_calc_area_with_mat3(), bm_mesh_calc_uvs_sphere_face(), bmesh_test_dist_add(), boid_body(), bone_align_to_bone(), brush_puff(), calc_distanceCurveVerts(), calchandleNurb_intern(), blender::nodes::node_shader_tex_wave_cc::WaveFunction::call(), camera_frame_fit_calc_from_data(), cloth_brush_satisfy_constraints(), cloth_brush_solve_collision(), cloth_collision_response_static(), cloth_selfcollision_response_static(), compute_collision_point_edge_tri(), compute_collision_point_tri_tri(), computeNormalDisplacement(), convert_pose(), convert_tree(), cotangent_tri_weight_v3(), curvemap_make_table(), deformStroke(), density_falloff(), dist_to_sphere_shell(), distribute_simple_children(), do_elastic_deform_brush_task_cb_ex(), do_guides(), do_multiplane_scrape_brush_task_cb_ex(), do_path_effectors(), do_set_scale(), do_smear_brush_task_cb_exec(), do_snake_hook_brush_task_cb_ex(), duplicateStroke(), dynamic_paint_generate_bake_data_cb(), dynamic_paint_paint_single_point_cb_ex(), edge_wind_vertex(), effector_falloff(), execute_posetree(), followtrack_distance_from_viewplane_get(), GEO_uv_parametrizer_average(), geodesic_distance_propagate_across_triangle(), get_effector_data(), gizmo_area_light_prop_matrix_set(), gizmo_arrow_modal(), gizmo_cage2d_modal(), gizmo_cage3d_modal(), gizmo_calc_rect_view_scale(), gizmo_render_border_prop_matrix_set(), gpencil_object_cache_add(), headerTranslation(), init_scene(), kelvinlet_scale(), kelvinlet_twist(), len_v3v3(), mat3_to_scale(), mat3_to_size(), mat4_to_scale(), mat4_to_size(), mat4_to_xy_scale(), mean_value_half_tan_v3(), mesh_filter_sharpen_init(), MOD_lineart_chain_offset_towards_camera(), modifyMesh(), nr_distance_to_edge(), orient_mat_z_normalized(), orthogonalize_stable(), OVERLAY_camera_cache_populate(), OVERLAY_grid_init(), paint_calc_object_space_radius(), paint_line_strokes_spacing(), paint_space_stroke(), particle_batch_cache_ensure_pos(), pchan_culling_test_bbone(), pointdensity_color(), position_tail_on_spline(), precalc_guides(), psys_get_particle_on_path(), psys_thread_create_path(), ResizeBetween(), rule_avoid_collision(), rule_flock(), rule_follow_leader(), rule_goal_avoid(), sculpt_geodesic_mesh_test_dist_add(), setNearestAxis3d(), shrinkwrap_snap_with_side(), sph_particle_courant(), sphclassical_density_accum_cb(), sphclassical_neighbor_accum_cb(), sphere_do(), splineik_evaluate_bone(), spring_length(), studiolight_spherical_harmonics_geomerics_eval(), to_sphere_radius_update(), tranformViewUpdate(), uiTemplateColorPicker(), update_courant_num(), vcloud_estimate_transform_v3(), vec_to_quat(), view3d_zoom_border_exec(), viewAxisCorrectCenter(), viewrotate_apply(), WIDGETGROUP_camera_refresh(), window_translate_m4(), wm_xr_grab_compute_bimanual(), wm_xr_navigation_grab_apply(), workbench_volume_modifier_cache_populate(), and workbench_volume_object_cache_populate().

◆ len_v3_db()

MINLINE double len_v3_db ( const double  a[3])

Definition at line 1054 of file math_vector_inline.c.

References Freestyle::a, dot_v3v3_db(), and sqrt().

Referenced by blender::bke::tests::EXPECT_M3_ORTHOGONAL().

◆ len_v3v3()

MINLINE float len_v3v3 ( const float  a[3],
const float  b[3] 
)

Definition at line 1115 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), len_v3(), and sub_v3_v3v3().

Referenced by Freestyle::BlenderFileLoader::addTriangle(), alter_co(), angle_normalized_v3v3(), apply_spring_memory(), apply_stroke_envelope(), armature_click_extrude_exec(), bezier_handle_calc_length_v3(), bezier_output_handle_inner(), BKE_anim_path_calc_data(), BKE_curve_bevelList_make(), BKE_gpencil_stroke_close(), BKE_gpencil_stroke_editcurve_generate(), BKE_gpencil_stroke_length(), BKE_gpencil_stroke_segment_length(), BKE_gpencil_stroke_shrink(), BKE_gpencil_stroke_simplify_adaptive(), BKE_gpencil_stroke_uv_update(), BKE_kelvinlet_grab(), BKE_kelvinlet_grab_biscale(), BKE_kelvinlet_grab_triscale(), BKE_mask_calc_handle_point_auto(), BKE_mask_spline_resolution(), BKE_mesh_remap_calc_edges_from_mesh(), BKE_nurb_calc_length(), BKE_nurbList_handles_recalculate(), BKE_shrinkwrap_project_normal(), bm_decim_build_edge_cost_single__topology(), BM_edge_calc_length(), BM_edgeloop_calc_center(), bm_edgeloop_offset_length(), BM_face_calc_perimeter(), BM_face_calc_perimeter_with_mat3(), bm_loop_calc_opposite_co(), bm_vert_tri_find_unique_edge(), bmo_create_uvsphere_exec(), bmo_dissolve_degenerate_exec(), bmo_poke_exec(), boundary_floodfill_cb(), bpy_bmedge_calc_length(), brush_puff(), build_sequential(), calc_edge_subdivisions(), calc_ortho_extent(), calc_point_weight_by_distance(), calcEdgeSlide_even(), calchandleNurb_intern(), blender::compositor::DistanceRGBMatteOperation::calculate_distance(), calculate_point_length(), calculate_profile(), cloth_add_shear_bend_spring(), cloth_brush_add_length_constraint(), cloth_brush_simulation_falloff_get(), cloth_build_springs(), cloth_calc_helper_forces(), cloth_update_spring_lengths(), computeBindWeights(), convert_pose(), curve_calc_dist_pair(), curve_draw_exec_precalc(), curvemap_make_table(), deflect_emitter_iter(), deformStroke(), depthdropper_depth_sample_pt(), distlimit_evaluate(), do_kink_spiral(), do_smear_brush_task_cb_exec(), doVertSlide(), draw_bone_update_disp_matrix_bbone(), draw_bone_update_disp_matrix_default(), draw_frustum_bound_sphere_calc(), drw_call_culling_init(), drw_shgroup_bone_envelope(), DRW_text_edit_mesh_measure_stats(), dvar_eval_locDiff(), dynamic_paint_paint_single_point_cb_ex(), dyntopo_detail_size_parallel_lines_draw(), dyntopo_detail_size_sample_from_surface(), ED_armature_ebone_from_mat3(), equalize_cubic_bezier(), fill_profile_fracs(), fill_vmesh_fracs(), find_internal_spring_target_vertex(), find_nearest_points_test(), frame_len(), frustum_min_bounding_sphere(), geodesic_distance_propagate_across_triangle(), get_next_loop(), get_ob2ob_distance(), get_uv_edge_needle(), get_vert2ob_distance(), getVerticalAndHorizontalChange(), globallen(), gpencil_add_new_points(), gpencil_analyze_strokes(), gpencil_approximate_curve_segment_arclength(), gpencil_buffer_add_stroke(), gpencil_cutter_dissolve(), gpencil_primitive_update_strokes(), gpencil_stroke_addpoint(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_to_bezier_add_point(), gpencil_stroke_to_path_add_point(), hair_create_input_mesh(), hair_volume_eval_grid_vertex_sample(), init_laplacian_matrix(), initBend(), knifetool_draw_visible_distances(), laplacian_triangle_area(), limit_dist_v3(), lineart_chain_get_closest_cre(), make_selection_list_nurb(), mdisp_rot_face_to_crn(), merge_2_nurb(), merge_frame_corners(), mesh_edges_spherecast(), mesh_island_to_astar_graph_edge_process(), mesh_remap_calc_loops_astar_f_cost(), mesh_verts_spherecast_do(), meshdeform_ray_tree_intersect(), modifyMesh(), move_all_selected_points(), move_bezt_handle_or_vertex_by_displacement(), move_segment(), nr_distance_to_vert(), object_transform_axis_target_modal(), p_edge_length(), p_quad_split_direction(), paint_cursor_cursor_draw_3d_view_brush_cursor_active(), paint_cursor_draw_3d_view_brush_cursor_inactive(), particle_batch_cache_ensure_pos(), particle_batch_cache_fill_segments_proc_pos(), pchan_culling_calc_bsphere(), point_is_visible(), pose_ik_chain_origin_heads_init(), position_tail_on_spline(), psys_hair_use_simulation(), psys_thread_create_path(), quad_verts_to_barycentric_tri(), recalc_lengths(), recalcData_edit_armature(), ruler_item_as_string(), sample_detail_voxel(), sb_detect_edge_collisionCached(), sculpt_boundary_edit_data_init(), sculpt_expand_spherical_falloff_create(), SCULPT_geodesic_fallback_create(), sculpt_mask_by_color_contiguous_floodfill_cb(), sculpt_mask_by_color_delta_get(), sculpt_pose_brush_is_vertex_inside_brush_radius(), sculpt_pose_grow_pose_factor(), sculpt_rake_data_update(), shrinkwrap_get_tarmat(), skin_hole_target_face(), sphere_do(), splineik_evaluate_bone(), springs_from_mesh(), state_link_add(), stroke_march_next_point(), stroke_march_next_point_no_interp(), validate_solution(), valuefn(), verttag_add_adjacent(), view3d_interactive_add_modal(), viewops_data_create(), voxel_size_edit_draw(), and voxel_size_parallel_lines_draw().

◆ len_v4()

MINLINE float len_v4 ( const float  a[4])

Definition at line 1123 of file math_vector_inline.c.

References Freestyle::a, dot_v4v4(), and sqrtf.

Referenced by len_v4v4().

◆ len_v4v4()

MINLINE float len_v4v4 ( const float  a[4],
const float  b[4] 
)

Definition at line 1128 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), len_v4(), and sub_v4_v4v4().

◆ line_point_side_v2()

MINLINE float line_point_side_v2 ( const float  l1[2],
const float  l2[2],
const float  pt[2] 
)

◆ madd_v2_v2fl()

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

◆ madd_v2_v2v2fl()

MINLINE void madd_v2_v2v2fl ( float  r[2],
const float  a[2],
const float  b[2],
float  f 
)

◆ madd_v3_v3fl()

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

Definition at line 680 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by _scan_for_ext_spring_forces(), _softbody_calc_forces_slice_in_a_thread(), accumulate_vertex_normals_poly_v3(), accumulate_vertex_normals_tri_v3(), accumulate_vertex_normals_v3(), aggregate_item_normal(), alter_co(), applyTrackballValue_calc_axis_angle(), basic_force_cb(), basic_integrate(), Bend(), bindVert(), BKE_effectors_apply(), BKE_gpencil_stroke_smooth_point(), BKE_gpencil_stroke_stretch(), BKE_lattice_deform_data_eval_co(), BKE_lnor_space_custom_data_to_normal(), BKE_mesh_calc_volume(), BKE_mesh_center_of_surface(), BKE_nurb_makeCurve(), BKE_nurb_makeFaces(), BLI_covariance_m3_v3n(), BLI_ewa_filter(), BM_edgeloop_calc_center(), BM_face_calc_center_median_weighted(), bm_grid_fill_array(), bm_loop_normal_accum(), bm_mesh_loops_calc_normals_for_loop(), BM_mesh_wireframe(), bm_vert_calc_normals_accum_loop(), BM_verts_calc_normal_from_cloud_ex(), bmo_face_inset_individual(), bmo_inset_region_exec(), bmo_poke_exec(), boid_body(), boid_climb(), brush_puff(), calc_multiplane_scrape_surface_task_cb(), camera_frame_fit_calc_from_data(), camera_stereoscopy_extra(), cast_ray_highpoly(), cloth_bend_poly_dir(), cloth_brush_apply_force_to_vertex(), cloth_brush_satisfy_constraints(), cloth_continuum_step(), cloth_solve_collisions(), collision_point_on_surface(), collision_point_velocity(), collision_response(), contarget_get_mesh_mat(), correctivesmooth_modifier_do(), cubic_subdiv(), deformStroke(), deformVert(), displaceModifier_do_task(), do_cloth_brush_apply_forces_task_cb_ex(), do_cloth_brush_solve_simulation_task_cb_ex(), do_displacement_smear_brush_task_cb_ex(), do_guides(), do_kink(), do_kink_spiral_deform(), do_physical_effector(), do_rough(), do_rough_curve(), do_rough_end(), do_smear_brush_task_cb_exec(), do_texture_effector(), do_topology_slide_task_cb_ex(), draw_circle_in_quad(), draw_primitive_view_impl(), dynamic_paint_apply_surface_displace_cb(), dynamic_paint_apply_surface_wave_cb(), dynamic_paint_border_cb(), dynamic_paint_generate_bake_data_cb(), dynamic_paint_prepare_effect_cb(), ease_handle_axis(), ED_view3d_distance_set_from_location(), ED_view3d_from_m4(), edbm_blend_from_shape_exec(), EEVEE_sample_ellipse(), EEVEE_sample_rectangle(), blender::compositor::ConvolutionEdgeFilterOperation::execute_pixel(), blender::compositor::GlareGhostOperation::generate_glare(), blender::compositor::GlareSimpleStarOperation::generate_glare(), blender::compositor::GlareStreaksOperation::generate_glare(), gizmo_arrow_matrix_basis_get(), grid_loc_to_world_loc(), hair_volume_eval_grid_vertex_sample(), IMB_alpha_under_color_float(), integrate_particle(), isect_plane_plane_plane_v3(), isect_plane_plane_v3(), layerInterp_mvert_skin(), layerInterp_normal(), layerInterp_propfloat3(), layerInterp_shapekey(), make_child_duplis_faces_from_editmesh(), make_child_duplis_faces_from_mesh(), mesh_calc_center_centroid_ex(), mesh_calc_ngon_center(), mesh_calc_poly_area_centroid(), mesh_filter_task_cb(), blender::geometry::mesh_merge_by_distance_connected(), meshdeform_vert_task(), mid_v3_v3_array(), MOD_solidify_extrude_modifyMesh(), modifyMesh(), object_origin_set_exec(), object_rand_transverts(), object_transform_axis_target_modal(), offset_in_plane(), offset_meet(), offset_meet_edge(), orthogonalize_stable(), OVERLAY_image_empty_cache_populate(), pchan_deform_accumulate(), poly_avg(), project_v3_plane(), psys_get_birth_coords(), psys_thread_create_path(), raycastEditMesh(), raycastMesh(), recalc_face_normals_find_index(), rule_avoid_collision(), rule_follow_leader(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), sb_spring_force(), scan_for_ext_face_forces(), SCULPT_bmesh_four_neighbor_average(), SCULPT_do_surface_smooth_brush_laplacian_task_cb_ex(), sculpt_gesture_trim_geometry_generate(), sculpt_kelvinet_integrate(), SCULPT_pose_calc_pose_data(), sculpt_project_v3(), sculpt_project_v3_normal_align(), SCULPT_surface_smooth_displace_step(), SIM_hair_volume_add_vertex(), SIM_hair_volume_vertex_grid_forces(), SIM_mass_spring_force_drag(), SIM_mass_spring_force_face_wind(), SIM_mass_spring_force_pressure(), SIM_mass_spring_force_spring_bending_hair(), SIM_mass_spring_force_spring_goal(), SIM_mass_spring_force_spring_linear(), slide_dist(), smart_uv_project_calculate_project_normals(), solidify_add_thickness(), sph_force_cb(), sphclassical_force_cb(), split_loop_nor_fan_do(), blender::draw::statvis_calc_thickness(), stroke_elem_pressure_set(), stroke_elem_project(), studiolight_evaluate_specular_radiance_buffer(), studiolight_lights_eval(), studiolight_spherical_harmonics_calculate_coefficients(), studiolight_spherical_harmonics_eval(), target_project_tri_jacobian(), blender::compositor::ConvolutionEdgeFilterOperation::update_memory_buffer_partial(), update_velocities(), WIDGETGROUP_light_target_draw_prepare(), WIDGETGROUP_xform_shear_draw_prepare(), wm_xr_fly_compute_move(), and wm_xr_navigation_teleport().

◆ madd_v3_v3v3()

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

Definition at line 687 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and r.

Referenced by deformStroke().

◆ madd_v3_v3v3db_db()

MINLINE void madd_v3_v3v3db_db ( double  r[3],
const double  a[3],
const double  b[3],
double  f 
)

Definition at line 707 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and r.

Referenced by reflect_v3_v3v3_db().

◆ madd_v3_v3v3fl()

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

Definition at line 700 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and r.

Referenced by add_vertex_invoke(), adj_vmesh(), adjust_miter_coords(), adjust_miter_inner_coords(), bevel_build_cutoff(), bezier_output_handle_inner(), BKE_curve_decimate_bezt_array(), BKE_gpencil_stroke_editcurve_generate(), BKE_pbvh_raycast_project_ray_root(), BKE_shrinkwrap_snap_point_to_surface(), BLI_bvhtree_bb_raycast(), BM_edge_split(), bm_edgexedge_isect_impl(), bm_edgexvert_isect_impl(), BM_mesh_wireframe(), bmbvh_ray_cast_cb(), bmo_inset_region_exec(), boid_body(), brush_add(), brush_puff(), bvhtree_sphereray_tri_intersection(), calchandleNurb_intern(), clip_segment_v3_plane(), clip_segment_v3_plane_n(), clip_to_ortho_planes(), closest_on_tri_to_point_v3(), closest_to_plane3_normalized_v3(), closest_to_plane3_v3(), closest_to_plane_normalized_v3(), closest_to_plane_v3(), closest_to_ray_v3(), cloth_brush_collision_cb(), cloth_continuum_step(), collision_interpolate_element(), collision_point_distance_with_normal(), collision_point_on_surface(), collision_response(), collision_sphere_to_edges(), compute_collision_point_edge_tri(), compute_collision_point_tri_tri(), constraint_snap_plane_to_edge(), dfs_raycast(), dist_ensure_v3_v3fl(), do_boundary_brush_grab_task_cb_ex(), do_boundary_brush_inflate_task_cb_ex(), do_boundary_brush_slide_task_cb_ex(), do_boundary_brush_smooth_task_cb_ex(), do_cloth_brush_apply_forces_task_cb_ex(), do_enhance_details_brush_task_cb_ex(), do_layer_brush_task_cb_ex(), do_path_effectors(), do_smooth_brush_task_cb_ex(), do_topology_rake_bmesh_task_cb_ex(), doEdgeSlide(), doVertSlide(), dynamic_paint_paint_mesh_cell_point_cb_ex(), dyntopo_detail_size_parallel_lines_draw(), ED_armature_ebone_from_mat3(), ED_view3d_win_to_3d(), ED_view3d_win_to_3d_on_plane(), editmesh_looptri_raycast_backface_culling_cb(), editmesh_looptri_spherecast(), effector_falloff(), evaluate_cubic_bezier(), gizmo_arrow_modal(), gizmo_ruler_draw(), harmonic_ray_callback(), heat_ray_source_visible(), integrate_particle(), interp_slerp_co_no_v3(), isect_line_plane_v3(), isect_line_sphere_v3(), isect_seg_seg_v3(), knife_bvh_raycast_cb(), knife_snap_angle_relative(), knifetool_draw_angle(), knifetool_raycast_planes(), loop_interp_multires_cb(), mesh_faces_spherecast(), mesh_filter_task_cb(), mesh_looptri_raycast_backface_culling_cb(), mesh_looptri_spherecast(), meshdeform_ray_tree_intersect(), offset_on_edge_between(), pbvh_bmesh_node_raycast(), pbvh_faces_node_raycast(), pbvh_grids_node_raycast(), planeProjection(), point_is_visible(), pose_solve_ik_chain(), project_plane_normalized_v3_v3v3(), project_plane_v3_v3v3(), reflect_v3_v3v3(), SCULPT_do_clay_strips_brush(), sculpt_gesture_line_calculate_plane_points(), sculpt_gesture_trim_geometry_generate(), shrinkwrap_snap_with_side(), SIM_mass_spring_force_spring_bending_hair(), sph_force_cb(), sphclassical_force_cb(), spring_hairbend_forces(), surface_determineForceTargetPoints(), target_project_tri_deviation(), target_project_tri_jacobian(), transdata_elem_shrink_fatten(), transform_point_by_tri_v3(), update_location_for_2d_curve(), view3d_ruler_item_mousemove(), view3d_win_to_ray_segment(), view_dolly_to_vector_3d(), view_zoom_to_window_xy_3d(), voxel_size_parallel_lines_draw(), wm_xr_controller_aim_draw(), and wm_xr_raycast_update().

◆ madd_v3_v3v3v3()

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

◆ madd_v3fl_v3fl_v3fl_v3i()

MINLINE void madd_v3fl_v3fl_v3fl_v3i ( float  r[3],
const float  a[3],
const float  b[3],
const int  c[3] 
)

Definition at line 721 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), Freestyle::c, float(), and r.

Referenced by OVERLAY_volume_extra(), and particles_fluid_step().

◆ madd_v4_v4fl()

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

◆ madd_v4_v4v4()

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

◆ mul_project_m4_v3_zfac()

MINLINE float mul_project_m4_v3_zfac ( const float  mat[4][4],
const float  co[3] 
)

Convenience function to get the projected depth of a position. This avoids creating a temporary 4D vector and multiplying it - only for the 4th component.

Matches logic for:

float co_4d[4] = {co[0], co[1], co[2], 1.0};
mul_m4_v4(mat, co_4d);
return co_4d[3];
void mul_m4_v4(const float M[4][4], float r[4])
Definition: math_matrix.c:862

Definition at line 643 of file math_vector_inline.c.

Referenced by add_vertex_invoke(), dist_squared_to_projected_aabb(), ED_view3d_calc_zfac_ex(), ED_view3d_pixel_size(), ED_view3d_pixel_size_no_ui_scale(), gpencil_vfx_blur(), gpencil_vfx_pixelize(), gpencil_vfx_rim(), gpencil_vfx_shadow(), gpencil_vfx_swirl(), gpencil_vfx_wave(), mul_project_m4_v3(), mul_v2_project_m4_v3(), mul_v3_project_m4_v3(), setNearestAxis3d(), test_projected_vert_dist(), and update_location_for_2d_curve().

◆ mul_v2_fl()

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

Definition at line 541 of file math_vector_inline.c.

References r.

Referenced by blender::ed::space_node::add_reroute_do_socket_section(), annotation_stroke_arrow_calc_points(), bev_merge_edge_uvs(), bev_merge_uvs(), bezier_calc_handle_adj(), BKE_mask_point_set_handle(), BM_face_splits_check_legal(), BM_face_uv_calc_center_median(), BM_face_uv_calc_center_median_weighted(), boid_body(), build_underline(), blender::compositor::calc_ray_shift(), compensate_rotation_center(), createTransUVs(), dial_ghostarc_draw_incremental_angle(), do_rough_end(), do_vert_pair(), draw_distortion(), draw_view_matrix_state_update(), ED_image_draw_cursor(), ED_uvedit_median_multi(), edbm_rip_edge_invoke(), edge_slide_data_init_mval(), EEVEE_depth_of_field_jitter_get(), generate_perimeter_cap(), getArrowEndPoint(), gizmo2d_xform_draw_prepare(), gizmo_axis_test_select(), gizmo_button2d_test_select(), gizmo_move_modal(), blender::io::gpencil::GpencilIO::gpencil_3D_point_to_screen_space(), gpencil_add_arc_points(), gpencil_brush_randomize_apply(), gpencil_calc_points_factor(), gpencil_calc_stroke_fill_uv(), gpencil_primitive_update_strokes(), gpencil_uv_transform_calc(), gpencil_vfx_blur(), gpencil_vfx_pixelize(), gpencil_vfx_rim(), gpencil_vfx_shadow(), gpencil_vfx_swirl(), gpencil_vfx_wave(), GPU_matrix_project_2fv(), HC_relaxation_iteration_uv(), image_camera_background_matrix_get(), imagewraposa_aniso(), kdtree2d_isect_tri(), laplacian_relaxation_iteration_uv(), layerMultiply_mloop_origspace(), layerMultiply_mloopuv(), marker_block_handler(), mask_spline_feather_differentiated_points_with_resolution__double(), mdisp_in_mdispquad(), multiply_marker(), blender::ed::space_node::node_clipboard_paste_exec(), blender::ed::space_node::node_group_make_insert_selected(), OVERLAY_camera_cache_populate(), paint_brush_stroke_add_step(), paint_stroke_sample_average(), points_to_bezier(), seq_get_strip_pivot_median(), slide_marker_modal(), slide_point_modal(), slide_spline_curvature_modal(), stabilization_calculate_data(), surface_determineForceTargetPoints(), test_projected_vert_dist(), tracking_average_tracks(), ui_draw_but_TAB_outline(), ui_pie_handler(), uiTemplateMarker(), uv_image_outset(), uv_remove_doubles_to_selected(), uv_rip_pairs_calc_center_and_direction(), uvedit_vertex_buttons(), v2_quad_corners_to_mat4(), view3d_orbit_calc_center(), wm_gesture_draw_line_active_side(), and wm_gesture_straightline_do_angle_snap().

◆ mul_v2_v2()

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

◆ mul_v2_v2_ccw()

MINLINE void mul_v2_v2_ccw ( float  r[2],
const float  mat[2],
const float  vec[2] 
)

Definition at line 635 of file math_vector_inline.c.

References r.

◆ mul_v2_v2_cw()

MINLINE void mul_v2_v2_cw ( float  r[2],
const float  mat[2],
const float  vec[2] 
)

Avoid doing:

angle = atan2f(dvec[0], dvec[1]); angle_to_mat2(mat, angle);

instead use a vector as a matrix.

Definition at line 627 of file math_vector_inline.c.

References BLI_assert, and r.

Referenced by BLI_convexhull_aabb_fit_hull_2d().

◆ mul_v2_v2fl()

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

◆ mul_v2_v2v2()

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

Definition at line 754 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and r.

Referenced by gpencil_stroke_need_flip(), uv_image_outset(), and uvedit_nearest_uv().

◆ mul_v3_fl()

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

Definition at line 553 of file math_vector_inline.c.

References r.

Referenced by _scan_for_ext_spring_forces(), _softbody_calc_forces_slice_in_a_thread(), actcon_get_tarmat(), adj_vmesh(), alter_co(), apply_lengths_iter(), applyGridAbsolute(), area_squared_poly_v3(), area_squared_tri_v3(), armature_vert_task_with_dvert(), average_grid_element_value_v3(), average_with_other(), avg4(), axisProjection(), barycentric_weights(), barycentric_weights_v2(), barycentric_weights_v2_clamped(), barycentric_weights_v2_persp(), basic_force_cb(), basic_integrate(), basic_rotate(), BKE_camera_view_frame_ex(), BKE_curve_center_median(), BKE_gpencil_stroke_2d_flat_ref(), BKE_gpencil_stroke_smooth_point(), BKE_lattice_center_median(), BKE_mball_center_median(), BKE_mball_transform(), BKE_mesh_calc_relative_deform(), BKE_mesh_calc_volume(), BKE_mesh_center_median(), BKE_mesh_center_median_from_polys(), BKE_mesh_center_of_surface(), BKE_mesh_center_of_volume(), BKE_mesh_mirror_apply_mirror_on_axis_for_modifier(), BKE_mesh_normals_loop_to_vertex(), BKE_mesh_remap_find_best_match_from_mesh(), BKE_mesh_remesh_voxel_fix_poles(), BKE_multires_construct_tangent_matrix(), BKE_pchan_bbone_handles_compute(), BKE_pose_where_is_bone_tail(), BLI_ewa_filter(), BLI_newton3d_solve(), BLI_voronoi_triangulate(), blo_do_versions_280(), BM_edgeloop_calc_center(), BM_face_calc_center_median(), BM_face_calc_center_median_weighted(), bm_face_calc_poly_center_median_vertex_cos(), BM_face_multires_bounds_smooth(), BM_mesh_edgeloops_calc_order(), bm_mesh_loops_assign_normal_data(), bmesh_selected_verts_center_calc(), bmo_collapse_exec(), bmo_face_inset_individual(), bmo_inset_region_exec(), bmo_smooth_vert_exec(), boid_body(), boid_brain(), boid_climb(), bone_align_to_bone(), bone_hint_color_shade(), brush_add(), brush_comb(), brush_edit_apply(), brush_length(), brush_puff(), brush_smooth_do(), brush_tint_apply(), blender::compositor::KeyingScreenOperation::build_voronoi_triangulation(), calc_area_normal_and_center_task_cb(), calc_bbox(), calc_curve_deform(), calc_frame_center(), calc_solidify_normals(), calc_tangent_loop_accum(), calc_tangent_ortho(), blender::io::obj::OBJMesh::calc_vertex_coords(), calculateCenterMedian(), check_path_length(), clamp_axis_max_v3(), closest_on_tri_to_point_v3(), closest_point_on_surface(), cloth_brush_apply_brush_foces(), cloth_brush_solve_collision(), cloth_calc_average_acceleration(), cloth_calc_force(), cloth_calc_helper_forces(), cloth_collision_response_static(), cloth_filter_apply_forces_task_cb(), cloth_from_object(), cloth_get_grid_location(), cloth_hair_update_bending_targets(), cloth_selfcollision_response_static(), collision_check(), collision_fail(), collision_response(), compute_sss_translucence_kernel(), contarget_get_lattice_mat(), contarget_get_mesh_mat(), createFacepa(), createTransGPencil_center_get(), cubic_subdiv(), curvemap_make_table(), blender::geometry::customdata_weld(), deflect_emitter_iter(), deformStroke(), displaceModifier_do_task(), do_cloth_brush_apply_forces_task_cb_ex(), do_cloth_brush_solve_simulation_task_cb_ex(), do_clump(), do_crease_brush_task_cb_ex(), do_displacement_smear_brush_task_cb_ex(), do_elastic_deform_brush_task_cb_ex(), do_grab_brush_task_cb_ex(), do_gravity(), do_guides(), do_inflate_brush_task_cb_ex(), do_kink(), do_layer_brush_task_cb_ex(), do_particle_interpolation(), do_path_effectors(), do_physical_effector(), do_pose_brush_task_cb_ex(), do_projectpaint_draw_f(), do_projectpaint_thread(), do_rough(), do_rough_curve(), do_set_scale(), do_snake_hook_brush_task_cb_ex(), do_version_bone_head_tail_237(), do_version_constraints_radians_degrees_270_1(), blender::ed::space_node::draw_background_color(), draw_frustum_bound_sphere_calc(), drawEdgeSlide(), drawLine(), drawVertSlide(), DRW_text_edit_mesh_measure_stats(), duplicateStroke(), dynamic_paint_brush_velocity_compute_cb(), dynamic_paint_generate_bake_data_cb(), dynamic_paint_output_surface_image_paint_cb(), dynamicPaint_brushObjectCalculateVelocity(), dynamicPaint_paintMesh(), dyntopo_detail_size_parallel_lines_draw(), ED_armature_origin_set(), ed_editcurve_addvert(), ED_gpencil_project_point_to_plane(), ED_gpencil_project_stroke_to_plane(), ED_gpencil_trace_image_to_bitmap(), ED_mball_add_primitive(), ED_transform_calc_gizmo_stats(), ED_view3d_global_to_vector(), edbm_average_normals_exec(), edbm_calc_loop_co(), edbm_dupli_extrude_cursor_invoke(), edbm_extrude_repeat_exec(), edbm_screw_exec(), edbm_smooth_normals_exec(), edge_pos_direction_worldspace_get(), eevee_light_setup(), eevee_lightprobes_culling_test(), EEVEE_sample_ball(), EEVEE_shadows_caster_register(), element_accumulator_mul_fl(), ElementResize(), evaluate_vertex_and_apply_displacement_copy(), evaluate_vertex_and_apply_displacement_interpolate(), blender::compositor::TonemapOperation::execute_pixel(), blender::compositor::ConvertYCCToRGBOperation::execute_pixel_sampled(), execute_posetree(), execute_scene(), explodeMesh(), blender::draw::extract_fdots_pos_iter_poly_bm(), blender::draw::extract_fdots_pos_iter_poly_mesh(), extrapolate_points_by_length(), find_internal_spring_target_vertex(), flush_pixel(), flyApply(), followpath_evaluate(), frustum_min_bounding_sphere(), blender::compositor::GlareFogGlowOperation::generate_glare(), blender::compositor::GlareGhostOperation::generate_glare(), blender::compositor::GlareSimpleStarOperation::generate_glare(), get_effector_data(), get_selected_center(), get_surrounding_color(), getSingleCoordinate(), getSnapPoint(), give_parvert(), gizmo_cage2d_modal(), gizmo_cage3d_modal(), gizmo_mesh_spin_init_refresh(), gizmo_move_modal(), gpencil_brush_clone_init(), gpencil_brush_pinch_apply(), gpencil_grid_colors_calc(), gpencil_light_pool_populate(), gpencil_snap_cursor_to_sel(), gpencil_stroke_center(), gpencil_uv_transform_init(), gpencil_vertexpaint_brush_do_frame(), gpencil_vfx_pixelize(), gpencil_vfx_shadow(), gpencil_vfx_swirl(), gpencil_vfx_wave(), GPU_matrix_project_3fv(), grid_to_world(), heat_ray_source_visible(), idp_snap_calc_incremental(), imagewraposa(), imapaint_tri_weights(), IMB_colormanagement_imbuf_to_float_texture(), imm_draw_cube_corners_3d(), integrate_particle(), interp_barycentric_tri_v3(), interp_bilinear_quad_v3(), isect_line_line_epsilon_v3(), isect_line_line_strict_v3(), isect_plane_plane_plane_v3(), isect_plane_plane_v3(), isect_sweeping_sphere_tri_v3(), iterate_lengths_iter(), laplaciansmoothModifier_do(), M_Geometry_intersect_ray_tri(), make_bbone_spline_matrix(), make_cube_corner_adj_vmesh(), make_duplis_particle_system(), make_selection_list_nurb(), make_unit_cube_map(), mat4_to_size_fix_shear(), mdisp_in_mdispquad(), merge_target(), mesh_calc_center_centroid_ex(), mesh_calc_eigen_matrix(), mesh_calc_poly_area_centroid(), mesh_filter_task_cb(), mesh_normals_loop_custom_set(), meshdeform_vert_task(), mid_v3_angle_weighted(), mid_v3_v3v3_angle_weighted(), MOD_lineart_chain_offset_towards_camera(), MOD_solidify_nonmanifold_modifyMesh(), modifyMesh(), move_segment(), multires_apply_uniform_scale(), multires_reshape_apply_base_refit_base_mesh(), multitex(), nearest_world_tree(), neighbor_dirty_mask(), blender::ed::space_node::node_gizmo_calc_matrix_space(), blender::ed::space_node::node_gizmo_calc_matrix_space_with_image_dims(), ob_parbone(), object_transform_axis_target_calc_depth_init(), offset_child(), offset_meet(), old_mdisps_bilinear(), orthogonalize_m3(), orthogonalize_m4(), orthogonalize_stable(), outside_lattice(), OVERLAY_camera_cache_populate(), OVERLAY_image_empty_cache_populate(), OVERLAY_lightprobe_cache_populate(), p_face_stretch(), paint_2d_gradient_fill(), paint_stroke_new(), particles_fluid_step(), point_normals_apply(), pointdensity(), pointdensity_cache_vertex_color(), pose_ik_chain_init_face_sets(), pose_ik_chain_init_face_sets_fk(), prepare_for_decimate(), proj_paint_state_cavity_init(), project_brush_radius(), project_line_gesture_apply_task_cb(), psys_apply_child_modifiers(), psys_get_birth_coords(), psys_get_particle_on_path(), psys_particle_on_dm(), ptcache_cloth_interpolate(), ptcache_particle_interpolate(), ptcache_particle_read(), ptcache_softbody_interpolate(), quad_verts_to_barycentric_tri(), quat_normalized_to_expmap(), RE_bake_normal_world_to_tangent(), blender::io::alembic::read_velocity(), recalc_emitter_field(), recalc_face_normals_find_index(), reference_to_scratch(), rescale_m4(), 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(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), scale_point(), scale_point_factor(), scale_tri(), scopes_update_cb(), sculpt_boundary_twist_data_init(), SCULPT_cache_calc_brushdata_symm(), SCULPT_cursor_geometry_info_update(), sculpt_detail_flood_fill_exec(), SCULPT_do_clay_brush(), SCULPT_do_clay_strips_brush(), SCULPT_do_clay_thumb_brush(), SCULPT_do_crease_brush(), SCULPT_do_draw_brush(), SCULPT_do_draw_sharp_brush(), SCULPT_do_fill_brush(), SCULPT_do_flatten_brush(), SCULPT_do_multiplane_scrape_brush(), SCULPT_do_paint_brush(), SCULPT_do_pose_brush(), SCULPT_do_scrape_brush(), sculpt_elastic_transform_task_cb(), sculpt_gesture_line_plane_from_tri(), sculpt_kelvinet_integrate(), sculpt_mask_expand_modal(), SCULPT_pose_calc_pose_data(), sculpt_pose_grow_pose_factor(), sculpt_project_v3_normal_align(), sculpt_rake_rotate(), SCULPT_relax_vertex(), sculpt_set_pivot_position_exec(), SCULPT_stroke_get_location(), SCULPT_surface_smooth_displace_step(), sculpt_transform_task_cb(), set_origin_exec(), setNearestAxis3d(), shrinkwrap_snap_with_side(), SIM_cloth_solve(), SIM_hair_volume_normalize_vertex_grid(), SIM_hair_volume_solve_divergence(), SIM_hair_volume_vertex_grid_forces(), SIM_mass_spring_force_face_extern(), SIM_mass_spring_force_face_wind(), SIM_mass_spring_force_gravity(), SIM_mass_spring_force_pressure(), SIM_mass_spring_force_reference_frame(), sizelike_evaluate(), sizelimit_evaluate(), skin_smooth_hulls(), smoothModifier_do(), snap_curs_to_sel_ex(), snap_target_median_impl(), softbody_apply_forces(), sph_integrate(), splineik_evaluate_bone(), blender::io::obj::store_bsdf_properties(), studiolight_lights_eval(), studiolight_spherical_harmonics_calculate_coefficients(), studiolight_spherical_harmonics_geomerics_eval(), subdiv_mesh_vertex_corner(), subsurf_calculate_limit_positions(), target_project_tri_correct(), tonemapmodifier_apply_threaded_simple(), trace_initialize_job_data(), transdata_elem_shear(), transdata_elem_to_sphere(), transdata_elem_translate(), blender::compositor::ConvertRGBToYCCOperation::update_memory_buffer_partial(), blender::compositor::TonemapOperation::update_memory_buffer_partial(), update_velocities(), uv_map_transform_calc_center_median(), v3d_cursor_snap_calc_incremental(), v3d_editvertex_buts(), vcloud_estimate_transform_v3(), blender::io::obj::OBJCurve::vertex_coordinates(), vfont_to_curve(), view3d_orbit_calc_center(), vmesh_center(), VoronoiVertexWeight::VoronoiVertexWeight(), voxel_size_edit_invoke(), voxel_size_parallel_lines_draw(), walkApply(), where_is_ik_bone(), WIDGETGROUP_camera_refresh(), WIDGETGROUP_camera_view_draw_prepare(), WIDGETGROUP_xform_cage_refresh(), WIDGETGROUP_xform_shear_draw_prepare(), WIDGETGROUP_xform_shear_refresh(), wm_xr_fly_compute_move(), wm_xr_grab_compute_bimanual(), wm_xr_pose_scale_to_imat(), wm_xr_pose_scale_to_mat(), workbench_volume_modifier_cache_populate(), workbench_volume_object_cache_populate(), and zero_axis_bias_m4().

◆ mul_v3_v3()

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

◆ mul_v3_v3db_db()

MINLINE void mul_v3_v3db_db ( double  r[3],
const double  a[3],
double  f 
)

Definition at line 574 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by normalize_v3_v3_length_db(), and project_v3_v3v3_db().

◆ mul_v3_v3fl()

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

Definition at line 567 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by annotation_draw_stabilizer(), applyGridAbsolute(), applyTrackballValue_calc_axis_angle(), applyTranslation(), axis_angle_normalized_to_quat(), axisProjection(), BKE_gpencil_centroid_3d(), BKE_gpencil_stroke_2d_flat(), BKE_gpencil_stroke_2d_flat_ref(), BKE_gpencil_stroke_editcurve_generate(), BKE_kelvinlet_grab(), BKE_kelvinlet_grab_biscale(), BKE_kelvinlet_grab_triscale(), BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), BKE_paint_stroke_get_average(), BKE_pbvh_raycast_project_ray_root(), bm_edgering_pair_interpolate(), BM_loop_calc_face_normal_safe_ex(), BM_loop_calc_face_normal_safe_vcos_ex(), bm_loop_flip_disp(), brush_painter_imbuf_new(), brush_painter_imbuf_update(), cage3d_draw_box_interaction(), cage3d_draw_circle_handles(), calc_bbox(), calc_point_from_barycentric_extrusion(), calc_tangent_ortho(), camera_frame_fit_calc_from_data(), cast_ray_highpoly(), circball_array_fill(), cloth_brush_apply_brush_foces(), cloth_brush_satisfy_constraints(), cloth_brush_solve_collision(), cloth_calc_force(), cloth_continuum_fill_grid(), cloth_filter_apply_forces_task_cb(), collision_response(), compute_sss_kernel(), create_frame(), deformStroke(), do_boundary_brush_smooth_task_cb_ex(), do_clay_brush_task_cb_ex(), do_clay_strips_brush_task_cb_ex(), do_clay_thumb_brush_task_cb_ex(), do_cloth_brush_apply_forces_task_cb_ex(), do_clump(), do_crease_brush_task_cb_ex(), do_displacement_eraser_brush_task_cb_ex(), do_displacement_smear_brush_task_cb_ex(), do_draw_brush_task_cb_ex(), do_draw_sharp_brush_task_cb_ex(), do_fill_brush_task_cb_ex(), do_flatten_brush_task_cb_ex(), do_grab_brush_task_cb_ex(), do_gravity(), do_gravity_task_cb_ex(), do_kink(), do_kink_spiral_deform(), do_multiplane_scrape_brush_task_cb_ex(), do_nudge_brush_task_cb_ex(), do_pinch_brush_task_cb_ex(), do_scrape_brush_task_cb_ex(), do_smear_brush_task_cb_exec(), do_snake_hook_brush_task_cb_ex(), do_thumb_brush_task_cb_ex(), do_topology_rake_bmesh_task_cb_ex(), do_topology_slide_task_cb_ex(), draw_bone_update_disp_matrix_custom(), drw_call_calc_orco(), dynamic_paint_border_cb(), dynamic_paint_paint_particle_cell_point_cb_ex(), dynamic_paint_paint_single_point_cb_ex(), ED_view3d_cursor_snap_draw_util(), edge_wind_vertex(), EEVEE_bloom_init(), EEVEE_lightprobes_grid_data_from_object(), blender::compositor::ConvertRGBToYCCOperation::execute_pixel_sampled(), eyedropper_color_sample(), gizmo_axis_draw(), gizmo_mesh_extrude_orientation_matrix_set(), gizmo_mesh_extrude_refresh(), gizmo_mesh_spin_init_refresh(), gpencil_brush_clone_adjust(), gpencil_brush_clone_init(), gpencil_brush_cursor_draw(), gpencil_brush_grab_apply_cached(), gpencil_brush_push_apply(), gpencil_generate_edgeloops(), blender::compositor::TonemapOperation::initialize_tile_data(), integrate_particle(), isect_plane_plane_plane_v3(), isect_plane_plane_v3(), isect_ray_plane_v3(), kelvinlet_scale(), kelvinlet_twist(), mesh_filter_sharpen_init(), mesh_filter_task_cb(), metaball_instance_data_set(), normalize_v3_v3_length(), old_mdisps_bilinear(), orient_mat_z_normalized(), orthogonalize_stable(), outerproduct(), paint_2d_ibuf_rgb_set(), paint_line_strokes_spacing(), paint_space_stroke(), plane_to_point_vector_v3(), plane_to_point_vector_v3_normalized(), point_normals_apply(), pointdensity_color(), project_v3_v3v3(), project_v3_v3v3_normalized(), psys_get_birth_coords(), rotate(), rotateDifferentialCoordinates(), SCULPT_bmesh_four_neighbor_average(), SCULPT_calc_area_center(), SCULPT_calc_area_normal_and_center(), SCULPT_do_crease_brush(), SCULPT_do_draw_brush(), SCULPT_do_draw_sharp_brush(), SCULPT_do_multiplane_scrape_brush(), sculpt_expand_reposition_pivot(), SCULPT_neighbor_coords_average(), SCULPT_neighbor_coords_average_interior(), SCULPT_surface_smooth_displace_step(), SCULPT_surface_smooth_laplacian_step(), SIM_hair_volume_vertex_grid_forces(), SIM_mass_spring_force_spring_angular(), SIM_mass_spring_force_spring_bending(), SIM_mass_spring_force_spring_bending_hair(), SIM_mass_spring_force_spring_goal(), SIM_mass_spring_force_spring_linear(), SIM_mass_spring_force_vertex_wind(), sph_particle_courant(), spring_hairbend_forces(), spring_length(), studiolight_spherical_harmonics_apply_band_factors(), studiolight_spherical_harmonics_calculate_coefficients(), studiolight_spherical_harmonics_eval(), subdiv_ccg_average_inner_face_normals(), tonemapmodifier_apply(), track_colors(), transform_constraint_snap_axis_to_edge(), transform_constraint_snap_axis_to_face(), transform_convert_mesh_islands_calc(), blender::compositor::ConvolutionEdgeFilterOperation::update_memory_buffer_partial(), blender::compositor::TonemapOperation::update_memory_buffer_started(), view3d_ob_drop_draw_activate(), walk_floor_distance_get(), walkApply(), and wm_xr_navigation_reset_exec().

◆ mul_v3_v3v3()

MINLINE void mul_v3_v3v3 ( float  r[3],
const float  v1[3],
const float  v2[3] 
)

◆ mul_v3db_db()

MINLINE void mul_v3db_db ( double  r[3],
double  f 
)

◆ mul_v4_fl()

MINLINE void mul_v4_fl ( float  r[4],
float  f 
)

◆ mul_v4_v4()

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

Definition at line 602 of file math_vector_inline.c.

References Freestyle::a, and r.

◆ mul_v4_v4fl()

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

◆ negate_v2()

MINLINE void negate_v2 ( float  r[2])

◆ negate_v2_v2()

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

◆ negate_v3()

MINLINE void negate_v3 ( float  r[3])

Definition at line 772 of file math_vector_inline.c.

References r.

Referenced by armature_calc_roll_exec(), axis_set_view(), bevel_build_cutoff(), bevel_list_flip_tangents(), BKE_mesh_mirror_bisect_on_mirror_plane_for_modifier(), BKE_pchan_bbone_handles_compute(), BKE_pchan_bbone_spline_compute(), BKE_where_on_path(), BM_edgeloop_flip(), bm_edgering_pair_interpolate(), BM_face_normal_flip_ex(), BM_loop_calc_face_tangent(), bm_vert_boundary_tangent(), bm_vert_calc_surface_tangent(), bm_vert_pair_to_matrix(), bmo_inset_region_exec(), bmo_triangle_fill_exec(), boid_body(), calc_initial_placement_point_from_view(), calc_point_from_barycentric_extrusion(), cloth_continuum_fill_grid(), collision_point_on_surface(), compute_collision_point_tri_tri(), connection_node_frames(), dist_signed_squared_to_corner_v3v3v3(), distribute_from_volume_exec(), do_kink(), drw_call_calc_orco(), dynamic_paint_paint_mesh_cell_point_cb_ex(), ED_armature_ebone_roll_to_vector(), ED_view3d_clipping_calc_from_boundbox(), ED_view3d_cursor3d_position_rotation(), edbm_flip_normals_custom_loop_normals(), edbm_normals_tools_exec(), edbm_screw_exec(), eevee_light_setup(), eevee_lightbake_cache_create(), EEVEE_lookdev_draw(), ElementMirror(), end_node_frames(), flip_custom_normals(), flyApply(), generate_vert_coordinates(), getTransformOrientation_ex(), gizmo_mesh_extrude_refresh(), initShear_mouseInputMode(), isect_sweeping_sphere_tri_v3(), locktrack_evaluate(), mat3_normalized_to_eulo2(), mat3_to_rot_size(), mesh_bisect_interactive_calc(), MOD_solidify_extrude_modifyMesh(), nr_signed_distance_to_plane(), object_orient_to_location(), offset_meet(), OVERLAY_bounds(), point_normals_apply(), polygons_check_flip(), proj_paint_state_vert_flags_init(), proj_paint_state_viewport_init(), project_paint_uvpixel_mask(), psys_get_birth_coords(), quad_verts_to_barycentric_tri(), recalc_face_normals_find_index(), rule_fight(), SCULPT_do_snake_hook_brush(), set_profile_params(), blender::draw::statvis_calc_distort(), tangent_from_uv_v3(), target_project_edge(), transform_evaluate(), transform_pivot_set_m4(), v3d_cursor_poject_surface_normal(), v3d_cursor_snap_update(), vectomat(), view3d_from_minmax(), view3d_interactive_add_begin(), view3d_interactive_add_modal(), view3d_ruler_item_mousemove(), view_zoom_to_window_xy_3d(), viewAxisCorrectCenter(), viewcenter_pick_invoke(), viewdolly_exec(), viewops_data_create(), vieworbit_exec(), viewroll_exec(), viewroll_invoke(), viewrotate_apply(), walk_ray_cast(), WIDGETGROUP_tool_generic_refresh(), WIDGETGROUP_xform_shear_draw_prepare(), wm_xr_navigation_reset_exec(), and workbench_studiolight_data_update().

◆ negate_v3_db()

MINLINE void negate_v3_db ( double  r[3])

Definition at line 809 of file math_vector_inline.c.

References r.

Referenced by BLI_quadric_optimize().

◆ negate_v3_short()

MINLINE void negate_v3_short ( short  r[3])

Definition at line 802 of file math_vector_inline.c.

References r.

◆ negate_v3_v3()

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

Definition at line 779 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by angle_normalized_v3v3(), applyRotation(), applyRotationMatrix(), axis_dominant_v3_to_m3_negate(), BKE_mesh_mirror_apply_mirror_on_axis_for_modifier(), BM_edge_rotate_check_degenerate(), bm_edgering_pair_interpolate(), boid_body(), camera_frame_fit_calc_from_data(), camera_frame_fit_data_init(), collection_drop_exec(), collision_response(), compute_collision_point_edge_tri(), compute_collision_point_tri_tri(), createSpaceNormalTangent(), curve_draw_invoke(), drawEdgeSlide(), drawVertSlide(), dynamic_paint_generate_bake_data_cb(), ED_view3d_cameracontrol_acquire(), ED_view3d_cursor3d_position(), ED_view3d_cursor3d_update(), ED_view3d_cursor_snap_draw_util(), ED_view3d_distance_set_from_location(), ED_view3d_from_m4(), ED_view3d_win_to_vector(), eevee_light_matrix_get(), eff_calc_visibility(), evaluate_curve_type_object(), find_internal_spring_target_vertex(), generate_vert_coordinates(), get_duplivert_transform(), gizmo_mesh_spin_init_refresh_axis_orientation(), gpencil_brush_twist_apply(), knife_start_cut(), mesh_remap_bvhtree_query_raycast(), MOD_solidify_nonmanifold_modifyMesh(), object_origin_clear_exec(), object_origin_set_exec(), object_rand_transverts(), OVERLAY_grid_init(), psys_get_birth_coords(), render_cubemap(), rule_goal_avoid(), shrinkwrap_calc_normal_projection_cb_ex(), shrinkwrap_get_tarmat(), SIM_mass_spring_force_spring_bending_hair(), stretchto_evaluate(), v3d_cursor_plane_draw(), v3d_cursor_snap_update(), vec_to_quat(), Vector_to_track_quat(), view3d_interactive_add_begin(), view3d_localview_init(), view3d_ruler_add_invoke(), view3d_zoom_border_exec(), view_zoom_to_window_xy_3d(), viewcenter_cursor_exec(), viewcenter_pick_invoke(), viewdolly_exec(), viewdolly_invoke(), viewops_data_create(), warpModifier_do(), WIDGETGROUP_camera_refresh(), WIDGETGROUP_camera_setup(), WIDGETGROUP_light_spot_refresh(), and wm_xr_fly_compute_move().

◆ negate_v4()

MINLINE void negate_v4 ( float  r[4])

◆ negate_v4_v4()

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

◆ normal_float_to_short_v2()

MINLINE void normal_float_to_short_v2 ( short  out[2],
const float  in[2] 
)

Definition at line 1249 of file math_vector_inline.c.

References usdtokens::out().

◆ normal_float_to_short_v3()

MINLINE void normal_float_to_short_v3 ( short  out[3],
const float  in[3] 
)

◆ normal_float_to_short_v4()

MINLINE void normal_float_to_short_v4 ( short  out[4],
const float  in[4] 
)

Definition at line 1269 of file math_vector_inline.c.

References usdtokens::out().

◆ normal_short_to_float_v3()

MINLINE void normal_short_to_float_v3 ( float  out[3],
const short  in[3] 
)

Definition at line 1255 of file math_vector_inline.c.

References usdtokens::out().

Referenced by bm_corners_to_loops_ex().

◆ normalize_v2()

MINLINE float normalize_v2 ( float  n[2])

Definition at line 1157 of file math_vector_inline.c.

References normalize_v2_v2().

Referenced by angle_v2v2(), angle_v2v2v2(), annotation_stroke_arrow_calc_points(), BKE_mask_calc_tangent_polyline(), BKE_mask_point_normal(), BLI_convexhull_aabb_fit_hull_2d(), BLI_dial_angle(), bm_loop_calc_uv_angle_from_dir(), boid_body(), boid_brain(), brush_calc_dvec_2d(), blender::compositor::calc_ray_shift(), blender::draw::compute_normalize_edge_vectors(), computeBindWeights(), cos_v2v2v2(), dist_ensure_v2_v2fl(), edbm_rip_edge_invoke(), generate_perimeter_cap(), getArrowEndPoint(), gizmo_ruler_draw(), gpencil_brush_angle(), gpencil_brush_angle_segment(), gpencil_brush_jitter(), gpencil_primitive_update_strokes(), gpencil_stroke_perimeter_ex(), gpencil_transform_fill_invoke(), gpencil_uv_transform_calc(), initResize(), initShear_mouseInputMode(), InputAngle(), isPolyValid(), mask_spline_feather_differentiated_points_with_resolution__double(), maskrasterize_spline_differentiate_point_outset(), normalize_m2(), normalize_m2_ex(), normalize_v2_m3_v3v3(), orthogonal_direction_get(), paint_line_strokes_spacing(), paint_space_stroke(), shell_v2v2_mid_normalized_to_dist(), step_cost_3_v2_ex(), stitch_calculate_edge_normal(), stitch_init(), stitch_island_calculate_edge_rotation(), test_edges_isect_2d_vert(), uv_rip_object(), uv_rip_pairs_calc_center_and_direction(), uv_rip_single_from_loop(), uv_sculpt_stroke_apply(), voxel_size_edit_invoke(), wm_gesture_draw_line_active_side(), and wm_gesture_straightline_do_angle_snap().

◆ normalize_v2_length()

MINLINE float normalize_v2_length ( float  n[2],
const float  unit_length 
)

◆ normalize_v2_v2()

MINLINE float normalize_v2_v2 ( float  r[2],
const float  a[2] 
)

◆ normalize_v2_v2_length()

MINLINE float normalize_v2_v2_length ( float  r[2],
const float  a[2],
float  unit_scale 
)
Note
any vectors containing nan will be zeroed out.

Definition at line 1136 of file math_vector_inline.c.

References Freestyle::a, dot_v2v2(), mul_v2_v2fl(), r, sqrtf, and zero_v2().

Referenced by normalize_v2_length(), and normalize_v2_v2().

◆ normalize_v3()

MINLINE float normalize_v3 ( float  n[3])

Definition at line 1244 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_poly_v3(), accumulate_vertex_normals_tri_v3(), accumulate_vertex_normals_v3(), adjust_miter_coords(), adjust_miter_inner_coords(), alter_co(), angle_poly_v3(), angle_quad_v3(), angle_tri_v3(), angle_v3v3v3(), apply_lengths_iter(), apply_stroke_envelope(), apply_weights_vertex_normal(), applyTrackballValue_calc_axis_angle(), armature_calc_roll_exec(), arrayModifier_doArray(), axis_angle_to_gimbal_axis(), basic_rotate(), bevel_harden_normals(), bevel_list_calc_bisect(), bevel_vert_construct(), bevlist_firstlast_direction_calc_from_bpoint(), bisect_v3_v3v3v3(), BKE_curve_bevelList_make(), BKE_curve_decimate_bezt_array(), BKE_displist_normals_add(), BKE_gpencil_stroke_2d_flat(), BKE_gpencil_stroke_2d_flat_ref(), BKE_gpencil_stroke_normal(), BKE_gpencil_stroke_stretch(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), BKE_mball_polygonize(), BKE_mesh_calc_normals_looptri(), BKE_mesh_calc_poly_angles(), BKE_multires_construct_tangent_matrix(), BKE_nurb_bezt_calc_normal(), BKE_nurb_bezt_calc_plane(), BKE_nurb_bpoint_calc_normal(), BKE_nurb_bpoint_calc_plane(), BKE_pchan_bbone_handles_compute(), BKE_shrinkwrap_compute_smooth_normal(), BKE_subdiv_eval_limit_point_and_normal(), BKE_volume_density_scale(), BLI_bvhtree_bb_raycast(), BLI_scanfill_calc_ex(), BLI_space_transform_apply_normal(), BLI_space_transform_invert_normal(), blinn_specular(), bm_decim_edge_collapse(), BM_edge_calc_face_angle_with_imat3_ex(), BM_edge_calc_face_tangent(), bm_edge_calc_rotate_beauty__area(), bm_edge_is_delimit(), BM_edge_rotate_check_degenerate(), BM_edgeloop_calc_normal(), BM_edgeloop_calc_normal_aligned(), BM_editselection_normal(), BM_editselection_plane(), bm_face_bisect_verts(), BM_face_calc_normal_subset(), bm_face_calc_poly_normal(), bm_face_calc_poly_normal_vertex_cos(), BM_face_calc_tangent_edge(), BM_face_calc_tangent_edge_diagonal(), BM_face_calc_tangent_edge_pair(), BM_face_calc_tangent_vert_diagonal(), BM_loop_calc_face_direction(), BM_loop_calc_face_normal(), BM_loop_calc_face_normal_safe_ex(), BM_loop_calc_face_normal_safe_vcos_ex(), BM_loop_calc_face_tangent(), BM_loop_interp_from_face(), bm_loop_normal_accum(), BM_mesh_calc_uvs_cone(), BM_mesh_edgeloops_calc_order(), bm_mesh_loops_calc_normals_for_loop(), bm_mesh_loops_custom_normals_set(), bm_subdivide_edge_addvert(), bm_vert_boundary_tangent(), BM_vert_calc_normal(), BM_vert_calc_normal_ex(), bm_vert_calc_normals_impl(), bm_vert_calc_normals_with_coords(), bm_vert_calc_surface_tangent(), BM_vert_normal_update_all(), bm_vert_pair_to_matrix(), BM_vert_tri_calc_tangent_edge(), BM_vert_tri_calc_tangent_edge_pair(), BM_verts_calc_normal_from_cloud_ex(), BMBVH_EdgeVisible(), BMD_mesh_intersection(), bmo_dissolve_degenerate_exec(), bmo_extrude_face_region_exec(), bmo_face_inset_individual(), bmo_inset_region_exec(), bmo_spin_exec(), bmo_subdivide_edges_exec(), bmo_triangle_fill_exec(), boid_body(), boid_brain(), boid_climb(), boid_find_ground(), bone_align_to_bone(), bone_direction_worldspace_get(), brush_puff(), build_emats_stack(), C_BVHTree_FromPolygons(), cache_key_incremental_rotation(), calc_curve_deform(), calc_edge_mat(), calc_local_y(), calc_nor_area_tri(), calc_point_from_barycentric_cage(), calc_point_from_barycentric_extrusion(), blender::io::obj::OBJMesh::calc_poly_normal(), calc_sculpt_plane(), calc_solidify_normals(), calc_tangent_loop_accum(), calc_tangent_ortho(), calc_tangent_spaces(), calculateCenter(), calcVertSlideMouseActiveEdges(), camera_frame_fit_calc_from_data(), camera_frame_fit_data_init(), camera_stereoscopy_extra(), cast_ray_highpoly(), clip_to_ortho_planes(), cloth_brush_apply_brush_foces(), cloth_brush_solve_collision(), cloth_calc_helper_forces(), cloth_collision_response_static(), cloth_continuum_add_hair_segments(), cloth_filter_apply_forces_task_cb(), cloth_hair_update_bending_rest_targets(), cloth_hair_update_bending_targets(), cloth_selfcollision_response_static(), cloth_spring_angle(), collision_detect(), collision_point_distance_with_normal(), collision_point_on_surface(), collision_sphere_to_edges(), collision_sphere_to_verts(), blender::draw::compute_normalize_edge_vectors(), computeBindWeights(), computeImplictRotations(), connection_node_mat(), constraint_plane_calc(), contarget_get_mesh_mat(), blender::compositor::NormalNode::convert_to_operations(), correct_bone_roll_value(), cos_v3v3v3(), GeometryExporter::create_normals(), createSpaceNormal(), createSpaceNormalTangent(), createTransCurveVerts(), cube_face_uv_to_direction(), damptrack_do_transform(), deflect_emitter_iter(), deformStroke(), dist_ensure_v3_v3fl(), distfactor_to_bone(), distribute_from_volume_exec(), do_cloth_brush_apply_forces_task_cb_ex(), do_guides(), do_kink(), do_kink_spiral(), do_kink_spiral_deform(), do_path_effectors(), do_physical_effector(), do_topology_rake_bmesh_task_cb_ex(), do_vpaint_brush_smear(), do_wpaint_brush_smear_task_cb_ex(), doVertSlide(), draw_frustum_culling_planes_calc(), draw_primitive_view_impl(), DRW_text_edit_mesh_measure_stats(), duplicateStroke(), dynamic_paint_generate_bake_data_cb(), dynamic_paint_paint_mesh_cell_point_cb_ex(), dynamic_paint_paint_particle_cell_point_cb_ex(), dynamic_paint_prepare_adjacency_cb(), dynamicPaint_paintMesh(), dyntopo_detail_size_parallel_lines_draw(), ED_armature_ebone_roll_to_vector(), ED_armature_ebone_to_mat3(), ed_dissolve_bez_segment(), ED_view3d_cursor3d_position_rotation(), ED_view3d_depth_read_cached_normal(), ED_view3d_global_to_vector(), ED_view3d_offset_distance(), ED_view3d_win_to_3d_on_plane_with_fallback(), ED_view3d_win_to_vector(), edbm_average_normals_exec(), edbm_dupli_extrude_cursor_invoke(), edbm_face_split_by_edges_exec(), edbm_normals_tools_exec(), edbm_smooth_normals_exec(), edge_norm(), edge_pos_direction_worldspace_get(), edge_slide_snap_apply(), edges_angle_kind(), eevee_light_setup(), eevee_lightprobes_culling_test(), EEVEE_lightprobes_planar_data_from_object(), eff_calc_visibility(), extrapolate_points_by_length(), face_to_plane(), blender::bke::tests::find_flip_boundary(), find_internal_spring_target_vertex(), blender::io::obj::fixup_invalid_polygon(), flip_qt_qt(), followtrack_project_to_depth_object_if_needed(), forward_diff_bezier_cotangent(), GEO_uv_parametrizer_average(), geodesic_distance_propagate_across_triangle(), blender::io::obj::geom_add_vertex_normal(), get_effector_data(), get_next_loop(), getTransformOrientation_ex(), gizmo_3d_dial_matrixbasis_calc(), gizmo_arrow_modal(), gizmo_bisect_prop_angle_get(), gizmo_bisect_prop_angle_set(), gizmo_bisect_prop_depth_set(), gizmo_mesh_bisect_update_from_op(), gizmo_mesh_spin_init_refresh(), gizmo_mesh_spin_redo_draw_prepare(), gizmo_mesh_spin_redo_setup(), gizmo_mesh_spin_redo_update_from_op(), gizmo_ruler_draw(), gizmo_spin_prop_axis_angle_get(), gizmo_spin_prop_axis_angle_set(), gpencil_brush_twist_apply(), gpencil_depth_plane(), gpencil_object_cache_add(), grid_tangent_matrix(), heat_calc_vnormals(), heat_ray_source_visible(), heat_source_distance(), imm_draw_cylinder_fill_normal_3d(), initBend(), initSnapping(), Freestyle::BlenderFileLoader::insertShapeNode(), interp_slerp_co_no_v3(), interp_v3_v3v3_slerp_safe(), is_outside_edge(), isect_sweeping_sphere_tri_v3(), iterate_lengths_iter(), knife_ray_intersect_face(), knife_snap_angle_relative(), knifetool_draw_angle(), layerCopyValue_normal(), lineart_create_render_buffer(), lineart_main_get_view_vector(), locktrack_evaluate(), blender::draw::loop_edge_factor_get(), 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_unit_square_map(), map_to_plane_v2_v3v3(), mat3_to_quat_is_ok(), mat4_look_from_origin(), mdisp_axis_from_quad(), mesh_bisect_interactive_calc(), mesh_calc_hq_normal(), mesh_calc_ngon_normal(), mesh_calc_ngon_normal_coords(), mesh_calc_normals_poly_and_vertex_accum_fn(), mesh_calc_normals_poly_and_vertex_finalize_fn(), mesh_calc_tessellation_for_face_impl(), mesh_edges_nearest_point(), mesh_merge_transform(), mesh_tessface_calc(), meshdeform_inside_cage(), mid_v3_angle_weighted(), mid_v3_v3v3_angle_weighted(), minter_v3_v3v3v3_ref(), mix_normals(), MOD_lineart_chain_feature_lines(), MOD_lineart_chain_offset_towards_camera(), MOD_solidify_extrude_modifyMesh(), MOD_solidify_nonmanifold_modifyMesh(), modifyMesh(), move_profile_plane(), move_weld_profile_planes(), multires_reshape_apply_base_refit_base_mesh(), nearest_world_tree(), neighbor_dirty_mask(), next_edgehalf_bev(), normal_poly_v3(), normal_quad_v3(), normal_tri_v3(), normalEditModifier_do_directional(), normalEditModifier_do_radial(), normalize_m3(), normalize_m3_ex(), normalize_m4(), normalize_m4_ex(), normals_merge(), normals_split(), nr_signed_distance_to_plane(), nurb_bezt_direction_worldspace_get(), nurb_bpoint_direction_worldspace_get(), object_orient_to_location(), object_transform_axis_target_modal(), offset_in_plane(), offset_meet(), offset_meet_edge(), offset_on_edge_between(), orient_mat_z_normalized(), orthogonalize_m3(), orthogonalize_m4(), orthogonalize_stable(), OVERLAY_paint_cache_init(), p_add_ngon(), paint_line_strokes_spacing(), paint_space_stroke(), pbvh_bmesh_collapse_edge(), pbvh_bmesh_split_edge(), pbvh_update_normals_store_task_cb(), pipe_test(), point_between_edges(), point_is_visible(), point_normals_apply(), polygons_check_flip(), pose_solve_ik_chain(), pose_solve_roll_chain(), proj_paint_state_cavity_init(), proj_paint_state_vert_flags_init(), proj_paint_state_viewport_init(), project_brush_radius(), project_paint_uvpixel_mask(), psys_get_birth_coords(), psys_get_dupli_path_transform(), psys_get_particle_on_path(), psys_particle_on_dm(), psys_thread_create_path(), py_bvhtree_ray_cast(), quad_calc_error(), quad_edges_to_normal(), quad_verts_to_barycentric_tri(), raycast_all_cb(), raycastEditMesh(), raycastMesh(), RE_bake_normal_world_to_object(), RE_bake_normal_world_to_tangent(), recalc_emitter_field(), recalc_face_normals_find_index(), recalcData_edit_armature(), rotateDifferentialCoordinates(), rotation_between_vecs_to_mat3(), rotation_between_vecs_to_quat(), 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_bmesh_four_neighbor_average(), sculpt_boundary_bend_data_init(), sculpt_boundary_displacement_from_grab_delta_get(), sculpt_boundary_slide_data_init(), sculpt_boundary_twist_data_init(), SCULPT_calc_brush_plane(), SCULPT_do_multiplane_scrape_brush(), sculpt_gesture_apply_trim(), sculpt_pose_align_pivot_local_space(), SCULPT_pose_calc_pose_data(), sculpt_pose_get_scale_from_grab_delta(), SCULPT_raycast_init(), SCULPT_relax_vertex(), SCULPT_tilt_apply_to_normal(), sculpt_update_brush_delta(), sculpt_update_cache_invariants(), set_axis(), set_plane_exec(), set_profile_params(), setNearestAxis3d(), shape_cut(), shell_v3v3_mid_normalized_to_dist(), shrinkwrap_build_boundary_data(), shrinkwrap_calc_normal_projection(), shrinkwrap_get_tarmat(), SIM_hair_volume_vertex_grid_forces(), SIM_mass_spring_force_edge_wind(), similar_face_select_exec(), similar_vert_select_exec(), slide_dist(), smart_uv_project_calculate_project_normals(), snap_mesh_edge_verts_mixed(), snap_mesh_polygon(), snap_to_superellipsoid(), snapEditMesh(), snapMesh(), sph_force_cb(), sph_springs_modify(), sphclassical_force_cb(), sphere_do(), splineik_evaluate_bone(), split_loop_nor_fan_do(), split_loop_nor_single_do(), blender::draw::statvis_calc_overhang(), step_cost_3_v3_ex(), blender::io::obj::OBJMesh::store_normal_coords_and_indices(), stretchto_evaluate(), stroke_elem_project_fallback(), studiolight_calculate_radiance_buffer(), studiolight_evaluate_specular_radiance_buffer(), surface_determineForceTargetPoints(), tan_calc_quat_v3(), blender::bke::tests::TEST(), transdata_elem_to_sphere(), transform_convert_mesh_islands_calc(), transform_orientations_create_from_axis(), blender::nodes::transform_volume(), tri_to_quat_ex(), triatomat(), ui_but_paste_normalized_vector(), ui_but_v3_get(), ui_numedit_but_UNITVEC(), update_sculpt_normal(), vec_to_quat(), vectomat(), Vector_reflect(), Vector_rotation_difference(), vert_slide_snap_apply(), vfont_to_curve(), vgroup_fix(), view3d_interactive_add_begin(), view3d_interactive_add_modal(), view_vector_calc(), viewdolly_exec(), viewdolly_invoke(), viewrotate_apply_snap(), voxel_size_edit_invoke(), voxel_size_parallel_lines_draw(), walk_ray_cast(), walkApply(), wm_gizmo_set_matrix_rotation_from_yz_axis__internal(), wm_xr_fly_compute_move(), and workbench_shadow_update().

◆ normalize_v3_db()

MINLINE double normalize_v3_db ( double  n[3])

Definition at line 1234 of file math_vector_inline.c.

References normalize_v3_length_db().

Referenced by bm_decim_build_quadrics(), and lineart_load_tri_task().

◆ normalize_v3_length()

MINLINE float normalize_v3_length ( float  n[3],
const float  unit_length 
)

◆ normalize_v3_length_db()

MINLINE double normalize_v3_length_db ( double  n[3],
const double  unit_length 
)

Definition at line 1211 of file math_vector_inline.c.

References mul(), and sqrt().

Referenced by normalize_v3_db().

◆ normalize_v3_v3()

MINLINE float normalize_v3_v3 ( float  r[3],
const float  a[3] 
)

Definition at line 1184 of file math_vector_inline.c.

References Freestyle::a, normalize_v3_v3_length(), and r.

Referenced by add_vertex_invoke(), angle_v3v3(), applyTrackballValue_calc_axis_angle(), axis_angle_to_mat3(), axis_angle_to_quat(), BKE_camera_object_dof_distance(), BKE_lnor_space_define(), BKE_mesh_calc_normals_looptri(), BKE_object_empty_image_data_is_visible_in_view3d(), bm_edgering_pair_interpolate(), BM_face_calc_tangent_edge_pair(), bm_vert_calc_normals_impl(), bm_vert_calc_normals_with_coords(), bm_vert_calc_surface_tangent(), boid_body(), boid_find_ground(), bridge_loop_pair(), cloth_collision(), cloth_selfcollision(), GeometryExporter::create_normals(), createSpaceNormalTangent(), curve_draw_event_add_first(), curve_draw_invoke(), damptrack_do_transform(), dial_ghostarc_get_angles(), do_cloth_brush_apply_forces_task_cb_ex(), do_displacement_smear_brush_task_cb_ex(), do_grab_brush_task_cb_ex(), do_kink(), do_smear_brush_task_cb_exec(), do_topology_slide_task_cb_ex(), drw_manager_init(), dynamic_paint_prepare_effect_cb(), edbm_dupli_extrude_cursor_invoke(), edbm_extrude_repeat_exec(), editmesh_looptri_raycast_backface_culling_cb(), EEVEE_lightprobes_planar_data_from_object(), expmap_to_quat(), flyApply(), geodesic_distance_propagate_across_triangle(), get_effector_data(), gizmo_arrow_modal(), gizmo_get_idot(), gizmo_mesh_bisect_update_from_op(), gizmo_spin_prop_depth_set(), gpencil_light_pool_populate(), hair_collision(), knife_calculate_snap_ref_edges(), knife_find_closest_face(), knife_snap_angle_relative(), knifetool_recast_cageco(), layerInterp_normal(), locktrack_evaluate(), mat3_to_rot_size(), mat4_to_rot(), mesh_bisect_exec(), mesh_calc_normals_poly_and_vertex_finalize_fn(), mesh_filter_task_cb(), mesh_looptri_raycast_backface_culling_cb(), meshdeform_ray_tree_intersect(), MOD_lineart_chain_offset_towards_camera(), MOD_solidify_extrude_modifyMesh(), normalize_m3_m3(), normalize_m3_m3_ex(), normalize_m4_m4(), normalize_m4_m4_ex(), normalize_v3(), object_transform_axis_target_modal(), orthogonalize_stable(), plane_to_point_vector_v3_normalized(), psys_get_birth_coords(), rotate_v3_v3v3fl(), rule_fight(), sb_detect_vertex_collisionCached(), SCULPT_calc_area_normal_and_center(), SCULPT_cursor_geometry_info_update(), SCULPT_do_pinch_brush(), sculpt_gesture_context_init_common(), SCULPT_pbvh_calc_area_normal(), SCULPT_relax_vertex(), sculpt_update_cache_invariants(), set_prop_dist(), SIM_mass_spring_force_spring_goal(), spring_grad_dir(), spring_hairbend_forces(), stretchto_evaluate(), blender::bke::tests::test_vec_roll_to_mat3_normalized(), transform_orientations_create_from_axis(), update_hit(), update_location_for_2d_curve(), vec_roll_to_mat3(), vectomat(), Vector_rotation_difference(), view3d_interactive_add_begin(), viewdolly_exec(), viewroll_exec(), viewroll_invoke(), vwpaint_update_cache_invariants(), wm_gizmo_set_matrix_rotation_from_yz_axis__internal(), wm_gizmo_set_matrix_rotation_from_z_axis__internal(), wm_xr_fly_compute_move(), wm_xr_fly_compute_turn(), and wm_xr_grab_compute_bimanual().

◆ normalize_v3_v3_db()

MINLINE double normalize_v3_v3_db ( double  r[3],
const double  a[3] 
)

Definition at line 1206 of file math_vector_inline.c.

References Freestyle::a, normalize_v3_v3_length_db(), and r.

◆ normalize_v3_v3_length()

MINLINE float normalize_v3_v3_length ( float  r[3],
const float  a[3],
float  unit_scale 
)
Note
any vectors containing nan will be zeroed out.

Definition at line 1167 of file math_vector_inline.c.

References Freestyle::a, dot_v3v3(), mul_v3_v3fl(), r, sqrtf, and zero_v3().

Referenced by axisProjection(), normalize_v3_length(), normalize_v3_v3(), and viewAxisCorrectCenter().

◆ normalize_v3_v3_length_db()

MINLINE double normalize_v3_v3_length_db ( double  r[3],
const double  a[3],
double const  unit_length 
)

Definition at line 1189 of file math_vector_inline.c.

References Freestyle::a, dot_v3v3_db(), mul_v3_v3db_db(), r, sqrt(), and zero_v3_db().

Referenced by normalize_v3_v3_db().

◆ round_v2i_v2fl()

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

◆ star_m3_v3()

MINLINE void star_m3_v3 ( float  rmat[3][3],
const float  a[3] 
)

Definition at line 969 of file math_vector_inline.c.

References Freestyle::a.

◆ sub_v2_v2()

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

◆ sub_v2_v2v2()

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

Definition at line 466 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and r.

Referenced by add_vertex_extrude(), annotation_add_missing_events(), annotation_stroke_convertcoords(), area_tri_signed_v2_alt_2x(), bezier_handle_calc_smooth_fcurve(), bezt_edge_handle_angle(), BKE_fcurve_bezt_subdivide_handles(), BKE_mask_calc_tangent_polyline(), BKE_mask_point_handle(), BKE_mask_point_normal(), BKE_mask_point_parent_matrix_get(), BKE_mask_point_set_handle(), BKE_mask_spline_project_co(), BKE_maskrasterize_handle_init(), BKE_mesh_remap_calc_polys_from_mesh(), BKE_mesh_uv_vert_map_create(), BKE_tracking_marker_clamp_search_position(), BLI_convexhull_aabb_fit_hull_2d(), BLI_dial_angle(), bm_face_array_uv_rotate_fit_aabb(), bm_loop_calc_uv_angle_from_dir(), blender::compositor::calc_ray_shift(), calchandle_curvemap(), calculate_reprojection_error_at_marker(), calcVertSlideMouseActiveEdges(), blender::compositor::check_corners(), closest_to_line_v2(), blender::draw::compute_normalize_edge_vectors(), compute_parallel_lines_nor_and_dist(), computeBindWeights(), cos_v2v2v2(), dist_ensure_v2_v2fl(), dist_squared_to_projected_aabb(), dist_squared_to_projected_aabb_precalc(), do_multires_bake_thread(), do_projectpaint_thread(), do_versions_291_fcurve_handles_limit(), draw_distortion(), draw_marker_areas(), draw_marker_outline(), draw_spline_curve(), dynamic_paint_find_island_border(), ED_mask_find_nearest_diff_point(), ED_uvedit_nearest_uv_multi(), edbm_rip_edge_invoke(), edbm_rip_edge_side_measure(), EEVEE_temporal_sampling_matrices_calc(), flushTransTracking(), generate_arc_from_point_to_point(), generate_perimeter_cap(), generate_semi_circle_from_point_to_point(), get_updated_data_for_edge(), getArrowEndPoint(), gizmo2d_xform_draw_prepare(), gizmo_move_modal(), gizmo_ruler_draw(), gpencil_add_arc_points(), gpencil_brush_angle(), gpencil_brush_angle_segment(), gpencil_brush_calc_midpoint(), gpencil_brush_jitter(), gpencil_calc_points_factor(), gpencil_draw_apply_event(), gpencil_draw_modal(), gpencil_point_xy_to_3d(), gpencil_primitive_move(), gpencil_primitive_size(), gpencil_primitive_strength(), gpencil_primitive_update_strokes(), gpencil_rotate_v2_v2v2fl(), gpencil_speed_guide_init(), gpencil_stroke_convertcoords(), gpencil_stroke_convertcoords_tpoint(), gpencil_stroke_need_flip(), gpencil_stroke_perimeter_ex(), gpencil_uv_transform_calc(), handle_set_length(), HC_relaxation_iteration_uv(), init_track_for_stabilization(), InputAngle(), insert_seam_vert_array(), is_poly_convex_v2(), isect_line_line_v2_point(), isect_ray_seg_v2(), isect_seg_seg_v2_point_ex(), isPolyValid(), knife_snap_angle_screen(), laplacian_relaxation_iteration_uv(), len_manhattan_v2v2(), len_squared_v2v2(), line_point_factor_v2_ex(), M_Geometry_intersect_sphere_sphere_2d(), marker_block_handler(), marker_unified_to_search_pixel(), mask_spline_feather_differentiated_points_with_resolution__double(), maskrasterize_spline_differentiate_point_outset(), mesh_bisect_interactive_calc(), mesh_init_origspace(), MOD_lineart_smooth_chains(), move_all_selected_points(), OVERLAY_camera_cache_populate(), p_chart_lscm_transform_single_pin(), paint_2d_gradient_fill(), paint_2d_stroke(), paint_brush_stroke_add_step(), paint_calculate_rake_rotation(), paint_line_strokes_spacing(), paint_space_stroke(), paint_stroke_line_constrain(), paint_stroke_modal(), paintcurve_slide_modal(), point_calculate_handle(), project_paint_uvpixel_init(), resolve_quad_uv_v2_deriv(), rotate_around_center_v2(), rotation_contribution(), sculpt_expand_move_propagation_origin(), search_pixel_to_marker_unified(), setNearestAxis3d(), slide_check_corners(), slide_plane_marker_modal(), slide_point_modal(), slide_spline_curvature_modal(), stencil_control_calculate(), stencil_set_target(), step_cost_3_v2_ex(), stitch_calculate_edge_normal(), test_edges_isect_2d_vert(), transform_input_update(), ui_block_calc_pie_segment(), ui_mouse_motion_towards_check(), uiTemplateMarker(), uv_find_nearest_face_ex(), uv_find_nearest_vert(), uv_rip_object(), uv_rip_pairs_calc_center_and_direction(), uv_rip_pairs_calc_uv_angle(), uv_rip_single_from_loop(), uv_sculpt_stroke_apply(), uv_sculpt_stroke_init(), uv_set_connectivity_distance(), uv_snap_selection_exec(), v2_quad_corners_to_mat4(), view_zoom_to_window_xy_camera(), voxel_size_edit_invoke(), wm_gesture_draw_line_active_side(), and wm_gesture_straightline_do_angle_snap().

◆ sub_v2_v2v2_db()

MINLINE void sub_v2_v2v2_db ( double  r[2],
const double  a[2],
const double  b[2] 
)

◆ sub_v2_v2v2_int()

MINLINE void sub_v2_v2v2_int ( int  r[2],
const int  a[2],
const int  b[2] 
)

◆ sub_v2db_v2fl_v2fl()

MINLINE void sub_v2db_v2fl_v2fl ( double  r[2],
const float  a[2],
const float  b[2] 
)

Definition at line 512 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), double(), and r.

◆ sub_v3_v3()

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

Definition at line 484 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by _scan_for_ext_spring_forces(), alter_co(), apply_spring(), armature_vert_task_with_dvert(), BKE_gpencil_stroke_stretch(), BKE_lnor_space_define(), BKE_object_apply_mat4_ex(), BKE_object_minmax(), BM_face_split_edgenet_connect_islands(), BM_loop_calc_face_normal_safe_ex(), BM_loop_calc_face_normal_safe_vcos_ex(), bm_vert_tri_find_unique_edge(), boid_find_ground(), calc_bbox(), calc_tangent_ortho(), clip_to_ortho_planes(), cloth_calc_average_acceleration(), cloth_calc_force(), constraint_snap_plane_to_edge(), blender::nodes::node_geo_scale_elements_cc::create_single_axis_transform(), cuboid_do(), curvemap_make_table(), deformVert(), dial_ghostarc_get_angles(), do_kink(), do_rotate_brush_task_cb_ex(), do_set_scale(), do_topology_rake_bmesh_task_cb_ex(), DRW_hair_duplimat_get(), drw_shgroup_bone_envelope_distance(), dynamic_paint_paint_particle_cell_point_cb_ex(), dynamic_paint_prepare_effect_cb(), ED_armature_ebone_from_mat4(), ED_armature_origin_set(), ED_gpencil_join_objects_exec(), ED_gpencil_reset_layers_parent(), ED_view3d_distance_set(), ED_view3d_win_to_vector(), edbm_dupli_extrude_cursor_invoke(), edge_slide_snap_apply(), EEVEE_lightprobes_grid_data_from_object(), ElementMirror(), ElementResize(), ElementRotation_ex(), InstancesComponent::ensure_geometry_instances(), explodeMesh(), followtrack_distance_from_viewplane_get(), blender::geometry::foreach_geometry_in_reference(), blender::bke::geometry_set_collect_recursive_collection_instance(), blender::ed::sculpt_paint::SlideOperationExecutor::get_slide_transform(), getTransformOrientation_ex(), gizmo_3d_dial_matrixbasis_calc(), gizmo_find_intersected_3d_intern(), hair_create_input_mesh(), idp_snap_calc_incremental(), imm_draw_cube_corners_3d(), knot_remove_error_value(), make_duplis_collection(), make_duplis_geometry_set_impl(), make_duplis_particle_system(), make_unit_cube_map(), make_unit_square_map(), mdisp_in_mdispquad(), merge_vert_dir(), mix_normals(), modifyMesh(), blender::nodes::node_geo_collection_info_cc::node_geo_exec(), object_origin_set_exec(), ObjectToTransData(), particles_fluid_step(), pchan_deform_accumulate(), pivotcon_evaluate(), point_is_visible(), point_normals_apply(), pointdensity_cache_object(), pointdensity_cache_psys(), proj_paint_state_cavity_init(), psys_get_birth_coords(), psys_get_texture(), RE_point_density_minmax(), blender::io::gpencil::GpencilImporterSVG::read(), rotateDifferentialCoordinates(), rotateflagNurb(), rule_average_speed(), rule_flock(), save_hair(), sb_detect_face_pointCached(), scale_point(), screen_px_to_vector_persp(), SCULPT_bmesh_four_neighbor_average(), SCULPT_surface_smooth_displace_step(), sculpt_update_brush_delta(), set_axis(), set_origin_exec(), set_plane_exec(), set_prop_dist(), SIM_hair_volume_vertex_grid_forces(), SIM_mass_spring_force_reference_frame(), SIM_mass_spring_force_spring_angular(), SIM_mass_spring_force_spring_bending_hair(), snap_sel_to_grid_exec(), snap_selected_to_location(), sphere_do(), spring_angle(), spring_hairbend_estimate_dfdv(), spring_hairbend_estimate_dfdx(), spring_hairbend_forces(), target_project_tri_deviation(), to_sphere_radius_update(), tracking_scale_reconstruction(), transdata_elem_bend(), transdata_elem_push_pull(), transdata_elem_shear(), transdata_elem_to_sphere(), UNUSED_FUNCTION(), v3d_cursor_snap_calc_incremental(), vert_slide_snap_apply(), view3d_interactive_add_modal(), view3d_ob_drop_matrix_from_snap(), view3d_zoom_border_exec(), viewAxisCorrectCenter(), viewmove_apply(), wireframe_hair_cache_populate(), wm_xr_draw_matrices_create(), wm_xr_fly_compute_move(), wm_xr_navigation_reset_exec(), wm_xr_navigation_teleport(), wm_xr_session_controller_pose_calc(), and wm_xr_session_state_update().

◆ sub_v3_v3v3()

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

Definition at line 491 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and r.

Referenced by _scan_for_ext_spring_forces(), _softbody_calc_forces_slice_in_a_thread(), accumulate_vertex_normals_poly_v3(), accumulate_vertex_normals_tri_v3(), accumulate_vertex_normals_v3(), adj_vmesh(), adjust_miter_coords(), adjust_miter_inner_coords(), alter_co(), angle_on_axis_v3v3v3_v3(), angle_poly_v3(), angle_quad_v3(), angle_signed_on_axis_v3v3v3_v3(), angle_tri_v3(), angle_v3v3v3(), annotation_stroke_convertcoords(), apply_heights_callback(), apply_lengths_iter(), apply_stroke_envelope(), applyarmature_adjust_edit_position(), applyarmature_set_edit_position(), applyFaceNearest(), applyFaceProject(), applyGridAbsolute(), ApplySnapTranslation(), armature_calc_roll_exec(), armature_click_extrude_exec(), armature_finalize_restpose(), armature_transform_recurse(), axisProjection(), basic_integrate(), Bend(), bevel_list_calc_bisect(), bevel_vert_construct(), bevlist_firstlast_direction_calc_from_bpoint(), bezier_output_handle_inner(), bisect_v3_v3v3v3(), BKE_armature_where_is_bone(), BKE_camera_object_dof_distance(), BKE_curve_bevelList_make(), BKE_curve_decimate_bezt_array(), BKE_effectors_apply(), BKE_gpencil_stroke_2d_flat(), BKE_gpencil_stroke_2d_flat_ref(), BKE_gpencil_stroke_editcurve_generate(), BKE_gpencil_stroke_normal(), BKE_gpencil_stroke_smooth_point(), BKE_gpencil_stroke_stretch(), BKE_mesh_calc_poly_angles(), BKE_nurb_bezt_calc_normal(), BKE_nurb_bezt_calc_plane(), BKE_nurb_bpoint_calc_normal(), BKE_nurb_bpoint_calc_plane(), BKE_nurb_minmax(), BKE_object_empty_image_data_is_visible_in_view3d(), BKE_pbvh_raycast_project_ray_root(), BKE_pchan_bbone_spline_compute(), BKE_pchan_bbone_spline_params_get(), BLI_bvhtree_bb_raycast(), BLI_newton3d_solve(), bm_decim_build_quadrics(), BM_edge_calc_face_tangent(), bm_edge_collapse_is_degenerate_flip(), BM_edge_is_convex(), bm_edge_is_delimit(), BM_edge_rotate_check_degenerate(), BM_edge_split(), bm_edge_symmetry_check_cb(), bm_edge_symmetry_map(), BM_edgeloop_calc_normal_aligned(), bm_edgering_pair_interpolate(), bm_edgexedge_isect_cb(), bm_edgexvert_isect_cb(), BM_editselection_normal(), BM_editselection_plane(), bm_face_bisect_verts(), BM_face_calc_tangent_edge(), BM_face_calc_tangent_edge_diagonal(), BM_face_calc_tangent_edge_pair(), BM_face_calc_tangent_vert_diagonal(), BM_loop_calc_face_direction(), BM_loop_calc_face_normal(), BM_loop_calc_face_normal_safe_ex(), BM_loop_calc_face_normal_safe_vcos_ex(), BM_loop_calc_face_tangent(), bm_loop_flip_disp(), BM_loop_is_convex(), bm_loop_normal_accum(), BM_loop_point_side_of_edge_test(), BM_mesh_edgeloops_calc_order(), bm_mesh_loops_calc_normals_for_loop(), bm_to_mesh_shape(), bm_vert_boundary_tangent(), bm_vert_calc_normals_impl(), bm_vert_calc_normals_with_coords(), bm_vert_pair_best_face_get(), bm_vert_pair_share_splittable_face_cb(), bm_vert_pair_to_matrix(), BM_vert_tri_calc_tangent_edge(), BM_vert_tri_calc_tangent_edge_pair(), BM_verts_calc_normal_from_cloud_ex(), BMBVH_EdgeVisible(), bmesh_test_dist_add(), bmo_dissolve_degenerate_exec(), bmo_edgenet_prepare_exec(), bmo_inset_region_exec(), bmo_subdivide_edges_exec(), bmo_triangle_fill_exec(), boid_body(), boid_climb(), boid_find_ground(), boid_goal_signed_dist(), bone_align_to_bone(), bone_connect_to_new_parent(), bone_direction_worldspace_get(), bridge_loop_pair(), brush_add(), brush_length(), brush_puff(), brush_smooth_do(), brush_smooth_get(), build_emats_stack(), cache_key_incremental_rotation(), calc_area_normal_and_center_task_cb(), calc_bbox(), calc_deltas(), calc_distanceCurveVerts(), calc_edge_mat(), calc_min_radius_v3v3(), calc_nor_area_tri(), calc_point_from_barycentric_cage(), calc_radius_limit(), calc_shapeKeys(), calc_tangent_ortho(), calc_tangent_spaces(), calcEdgeSlide_mval_range(), calchandleNurb_intern(), calculate_autoscale_factor(), calcVertSlideMouseActiveEdges(), camera_frame_fit_calc_from_data(), cast_ray_highpoly(), cb_snap_edge(), check_path_length(), clampto_evaluate(), clip_segment_v3_plane(), clip_segment_v3_plane_n(), clip_to_ortho_planes(), closest_on_tri_to_point_v3(), closest_to_line_v3(), closest_to_ray_v3(), cloth_brush_satisfy_constraints(), cloth_brush_solve_collision(), cloth_calc_force(), cloth_calc_helper_forces(), cloth_collision_response_static(), cloth_continuum_add_hair_segments(), cloth_continuum_step(), cloth_filter_apply_forces_task_cb(), cloth_hair_update_bending_rest_targets(), cloth_hair_update_bending_targets(), cloth_selfcollision_response_static(), cloth_solve_collisions(), cloth_spring_angle(), collision_check(), collision_detect(), collision_move_object(), 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(), compare_len_v3v3(), compute_collision_point_edge_tri(), compute_collision_point_tri_tri(), compute_mdisp_quad(), blender::draw::compute_normalize_edge_vectors(), computeImplictRotations(), computeNormalDisplacement(), connect_frames(), convert_tree(), correct_bone_roll_value(), cos_v3v3v3(), cotangent_tri_weight_v3(), create_frame(), createEdgeSlideVerts_double_side(), createEdgeSlideVerts_single_side(), cube_project_exec(), cuboid_do(), curve_draw_event_add_first(), curvemap_make_table(), cycle_offset_triple(), damptrack_evaluate(), deflect_emitter_iter(), deformStroke(), deformVerts(), dist_ensure_v3_v3fl(), dist_signed_squared_to_corner_v3v3v3(), dist_squared_ray_to_aabb_v3(), dist_squared_ray_to_seg_v3(), dist_squared_to_ray_v3_normalized(), dist_to_sphere_shell(), distfactor_to_bone(), distribute_grid(), do_boundary_brush_bend_task_cb_ex(), do_boundary_brush_smooth_task_cb_ex(), do_boundary_brush_twist_task_cb_ex(), do_child_modifiers(), do_clay_brush_task_cb_ex(), do_clay_strips_brush_task_cb_ex(), do_clay_thumb_brush_task_cb_ex(), do_cloth_brush_apply_forces_task_cb_ex(), do_cloth_brush_solve_simulation_task_cb_ex(), do_crease_brush_task_cb_ex(), do_displacement_eraser_brush_task_cb_ex(), do_displacement_smear_brush_task_cb_ex(), do_displacement_smear_store_prev_disp_task_cb_ex(), do_fill_brush_task_cb_ex(), do_flatten_brush_task_cb_ex(), do_kink(), do_kink_spiral(), do_layer_brush_task_cb_ex(), do_multiplane_scrape_brush_task_cb_ex(), do_path_effectors(), do_pinch_brush_task_cb_ex(), do_pose_brush_task_cb_ex(), do_projectpaint_soften(), do_projectpaint_soften_f(), do_rotate_brush_task_cb_ex(), do_scrape_brush_task_cb_ex(), do_smear_brush_task_cb_exec(), do_smooth_brush_task_cb_ex(), do_snake_hook_brush_task_cb_ex(), do_topology_rake_bmesh_task_cb_ex(), do_topology_slide_task_cb_ex(), do_twist(), do_vpaint_brush_smear(), do_wpaint_brush_smear_task_cb_ex(), blender::io::alembic::ABCPointsWriter::do_write(), dot_v3v3v3(), doVertSlide(), drawLine(), drawVertSlide(), drw_call_calc_orco(), DRW_pass_sort_shgroup_z(), duplicateStroke(), dynamic_paint_brush_velocity_compute_cb(), dynamic_paint_generate_bake_data_cb(), dynamic_paint_paint_mesh_cell_point_cb_ex(), dynamic_paint_paint_single_point_cb_ex(), dynamic_paint_prepare_adjacency_cb(), dynamicPaint_brushObjectCalculateVelocity(), dyntopo_detail_size_parallel_lines_draw(), ebone_spline_preview(), ED_armature_ebone_roll_to_vector(), ED_armature_ebone_to_mat3(), ed_dissolve_bez_segment(), ed_editcurve_addvert(), ED_gpencil_join_objects_exec(), ED_object_new_primitive_matrix(), ED_object_parent_set(), ED_transverts_update_obedit(), ED_view3d_cursor_snap_draw_util(), ED_view3d_depth_read_cached_normal(), ED_view3d_distance_set_from_location(), ED_view3d_global_to_vector(), ED_view3d_to_m4(), edbm_blend_from_shape_exec(), edbm_face_split_by_edges_exec(), edbm_screw_exec(), edge_edge_angle_less_than_180(), edge_norm(), edge_pos_direction_worldspace_get(), edge_slide_snap_apply(), edges_angle_kind(), EEVEE_shadows_caster_register(), ElementMirror(), ElementResize(), ElementRotation_ex(), evaluate_cubic_bezier(), evaluate_higher_grid_positions_with_details_callback(), execute_posetree(), execute_scene(), extrapolate_points_by_length(), extrude_points_from_selected_vertices(), fix_connected_bone(), followtrack_project_to_depth_object_if_needed(), form_factor_quad(), generate_vert_coordinates(), geodesic_distance_propagate_across_triangle(), get_effector_data(), get_next_loop(), getTransformOrientation_ex(), gizmo_arrow_modal(), gizmo_mesh_spin_init_refresh(), gizmo_mesh_spin_redo_setup(), gizmo_ruler_draw(), gpencil_brush_calc_midpoint(), gpencil_brush_clone_add(), gpencil_brush_pinch_apply(), gpencil_brush_twist_apply(), gpencil_depth_plane(), gpencil_generate_edgeloops(), gpencil_object_cache_add(), gpencil_point_xy_to_3d(), gpencil_snap_to_cursor(), gpencil_stroke_convertcoords(), gpencil_stroke_convertcoords_tpoint(), gpencil_stroke_editcurve_generate_edgecases(), grid_tangent(), heat_ray_source_visible(), heat_source_distance(), imm_draw_cube_corners_3d(), imm_draw_cylinder_fill_normal_3d(), initBend(), integrate_particle(), interp_slerp_co_no_v3(), interp_weights_quad_v3(), is_edge_convex_v3(), is_outside_edge(), is_quad_convex_v3(), is_quad_flip_v3(), is_quad_flip_v3_first_third_fast(), is_quad_flip_v3_first_third_fast_with_normal(), isect_axial_line_segment_tri_v3(), isect_line_line_epsilon_v3(), isect_line_line_strict_v3(), isect_line_plane_v3(), isect_line_segment_tri_epsilon_v3(), isect_line_segment_tri_v3(), isect_ray_line_v3(), isect_ray_plane_v3(), isect_ray_ray_epsilon_v3(), isect_ray_tri_epsilon_v3(), isect_ray_tri_v3(), isect_seg_seg_v3(), isect_sweeping_sphere_tri_v3(), iterate_lengths_iter(), kelvinlet_scale(), kelvinlet_twist(), knife_calculate_snap_ref_edges(), knife_find_closest_face(), knife_find_line_hits(), knife_ray_intersect_face(), knife_snap_angle_relative(), knifetool_draw_angle(), knifetool_raycast_planes(), knifetool_recast_cageco(), layerCopyValue_normal(), len_manhattan_v3v3(), len_squared_v3v3(), len_squared_v3v3_with_normal_bias(), len_v3v3(), line_plane_factor_v3(), line_point_factor_v3_ex(), locktrack_evaluate(), blender::draw::loop_edge_factor_get(), M_Geometry_intersect_ray_tri(), make_bevel_list_segment_3D(), make_unit_square_map(), mask_calc_point_handle(), mdisp_axis_from_quad(), mesh_calc_normals_poly_and_vertex_accum_fn(), mesh_calc_poly_volume_centroid_with_reference_center(), mesh_edges_nearest_point(), mesh_filter_enhance_details_init_directions(), mesh_filter_sharpen_init(), mesh_filter_task_cb(), blender::geometry::mesh_merge_by_distance_connected(), mesh_remove_doubles_on_axis(), meshdeform_inside_cage(), meshdeform_ray_tree_intersect(), meshdeformModifier_do(), minter_v3_v3v3v3_ref(), MOD_lineart_chain_offset_towards_camera(), MOD_solidify_extrude_modifyMesh(), MOD_solidify_nonmanifold_modifyMesh(), modifyMesh(), move_bezt_handle_or_vertex_by_displacement(), move_bezt_to_location(), move_profile_plane(), move_segment(), move_weld_profile_planes(), mul_v2_m3v3_center(), multires_disp_run_cb(), nearest_world_tree(), nearest_world_tree_co(), neighbor_dirty_mask(), next_edgehalf_bev(), normalEditModifier_do_directional(), normalize_v2_m3_v3v3(), nr_distance_to_edge(), nr_signed_distance_to_plane(), object_grid_element_to_tangent_displacement(), object_hook_recenter_exec(), object_orient_to_location(), object_origin_set_exec(), offset_in_plane(), offset_meet(), offset_meet_edge(), offset_on_edge_between(), p_chart_pin_positions(), paint_2d_lift_soften(), paint_line_strokes_spacing(), paint_space_stroke(), particle_batch_cache_fill_segments(), particle_system_minmax(), particles_fluid_step(), pipe_test(), pivotcon_evaluate(), point_between_edges(), point_in_slice(), point_in_slice_as(), point_in_slice_seg(), point_normals_apply(), points_for_loose_edges_interpolation_get(), pose_ik_chain_init_face_sets_fk(), pose_solve_ik_chain(), pose_solve_roll_chain(), precalc_guides(), prepare_for_decimate(), proj_paint_state_cavity_init(), proj_paint_state_vert_flags_init(), project_line_gesture_apply_task_cb(), project_v3_plane(), psys_apply_child_modifiers(), psys_cache_edit_paths_iter(), psys_get_birth_coords(), psys_get_dupli_path_transform(), psys_get_particle_on_path(), psys_interpolate_face(), psys_interpolate_particle(), psys_thread_create_path(), ptcache_particle_interpolate(), ptcache_particle_read(), quad_calc_error(), quad_edges_to_normal(), ray_point_factor_v3_ex(), RE_point_density_sample(), recalc_face_normals_find_index(), recalcData_edit_armature(), remap_hair_emitter(), ResizeBetween(), resolve_tri_uv_v3(), rotateDifferentialCoordinates(), RotationBetween(), rule_avoid_collision(), rule_fight(), rule_follow_leader(), rule_goal_avoid(), rule_separate(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), sb_spring_force(), scale_point_factor(), scale_tri(), screen_px_line_point_factor_v2_persp(), SCULPT_bmesh_four_neighbor_average(), sculpt_boundary_bend_data_init(), sculpt_boundary_displacement_from_grab_delta_get(), sculpt_boundary_slide_data_init(), sculpt_boundary_twist_data_init(), SCULPT_brush_strength_factor(), sculpt_detail_flood_fill_exec(), SCULPT_do_displacement_smear_brush(), SCULPT_do_multiplane_scrape_brush(), sculpt_elastic_transform_task_cb(), SCULPT_enhance_details_brush(), sculpt_flush_pbvhvert_deform(), sculpt_geodesic_mesh_test_dist_add(), sculpt_kelvinet_integrate(), sculpt_pose_align_pivot_local_space(), SCULPT_pose_calc_pose_data(), sculpt_pose_get_scale_from_grab_delta(), sculpt_rake_rotate(), SCULPT_raycast_init(), SCULPT_relax_vertex(), SCULPT_search_sphere_cb(), SCULPT_surface_smooth_laplacian_step(), sculpt_transform_matrices_init(), sculpt_transform_task_cb(), sculpt_update_brush_delta(), SCULPT_vertcos_to_key(), set_handle_type_exec(), set_profile_params(), setNearestAxis3d(), shape_cut(), shrinkwrap_build_boundary_data(), shrinkwrap_snap_with_side(), SIM_cloth_solve(), SIM_hair_volume_create_vertex_grid(), SIM_hair_volume_grid_velocity(), SIM_hair_volume_solve_divergence(), SIM_mass_spring_force_edge_wind(), SIM_mass_spring_force_reference_frame(), SIM_mass_spring_force_spring_bending_hair(), SIM_mass_spring_force_spring_goal(), slide_dist(), snap_selected_to_location(), snap_to_pipe_profile(), sph_force_cb(), sph_integrate(), sph_particle_courant(), sph_springs_modify(), sphclassical_density_accum_cb(), sphclassical_force_cb(), sphclassical_neighbor_accum_cb(), splineik_evaluate_bone(), split_loop_nor_fan_do(), split_loop_nor_single_do(), spring_grad_dir(), spring_hairbend_forces(), spring_length(), square_out_adj_vmesh(), state_step__face_edges(), state_step__face_verts(), step_cost_3_v3_ex(), stretchto_evaluate(), sub_fmatrix_fmatrix(), sub_lfvector_lfvector(), surfaceGenerateGrid(), tan_calc_quat_v3(), tangent_from_uv_v3(), target_project_edge(), target_project_solve_point_tri(), target_project_tri_correct(), trackto_evaluate(), transdata_elem_push_pull(), transdata_elem_shear(), transdata_elem_translate(), transform_mode_edge_slide_reproject_input(), tri_to_quat_ex(), triatomat(), twist_get_axis(), update_courant_num(), update_velocities(), uv_cylinder_project(), uv_sphere_project(), v3_dist_from_plane(), v3d_cursor_snap_update(), vcloud_estimate_transform_v3(), vectomat(), vert_slide_snap_apply(), vgroup_fix(), view3d_from_minmax(), view3d_interactive_add_begin(), view3d_interactive_add_modal(), view3d_localview_init(), view3d_orbit_apply_dyn_ofs(), view3d_zoom_border_exec(), view_vector_calc(), viewAxisCorrectCenter(), viewops_data_create(), viewrotate_apply(), volume_tetrahedron_signed_v3(), volume_tetrahedron_v3(), voxel_size_edit_invoke(), voxel_size_parallel_lines_draw(), walkApply(), walkEvent(), WIDGETGROUP_xform_cage_refresh(), and wm_xr_grab_compute_bimanual().

◆ sub_v3_v3v3_db()

MINLINE void sub_v3_v3v3_db ( double  r[3],
const double  a[3],
const double  b[3] 
)

◆ sub_v3_v3v3_int()

MINLINE void sub_v3_v3v3_int ( int  r[3],
const int  a[3],
const int  b[3] 
)

Definition at line 498 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and r.

◆ sub_v3db_v3fl_v3fl()

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

Definition at line 518 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), double(), and r.

Referenced by collision_compute_barycentric(), and isect_tri_tri_v3_ex().

◆ sub_v4_v4()

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

Definition at line 525 of file math_vector_inline.c.

References Freestyle::a, and r.

Referenced by color_filter_task_cb().

◆ sub_v4_v4v4()

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

Definition at line 533 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and r.

Referenced by len_squared_v4v4(), len_v4v4(), and multires_modifier_update_mdisps().

◆ swap_v2_v2()

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

◆ swap_v2_v2_db()

MINLINE void swap_v2_v2_db ( double  a[2],
double  b[2] 
)

Definition at line 319 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and SWAP.

◆ swap_v3_v3()

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

◆ swap_v3_v3_db()

MINLINE void swap_v3_v3_db ( double  a[3],
double  b[3] 
)

Definition at line 325 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and SWAP.

Referenced by lineart_shadow_cast_onto_triangle().

◆ swap_v4_v4()

MINLINE void swap_v4_v4 ( float  a[4],
float  b[4] 
)

Definition at line 311 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and SWAP.

Referenced by gpencil_material_pool_create(), and OVERLAY_gpencil_cache_init().

◆ swap_v4_v4_db()

MINLINE void swap_v4_v4_db ( double  a[4],
double  b[4] 
)

Definition at line 332 of file math_vector_inline.c.

References Freestyle::a, usdtokens::b(), and SWAP.

Referenced by lineart_shadow_cast_onto_triangle().

◆ zero_v2()

MINLINE void zero_v2 ( float  r[2])

Definition at line 15 of file math_vector_inline.c.

References r.

Referenced by blender::ed::space_node::add_reroute_do_socket_section(), average_marker_positions(), average_track_contributions(), BKE_curvemapping_premultiply(), BKE_image_get_tile_from_pos(), BKE_image_get_tile_uv(), BKE_mask_calc_tangent_polyline(), BKE_movieclip_get_stable_ibuf(), BKE_tracking_settings_init(), BKE_tracking_stabilization_data_get(), BKE_tracking_stabilize_frame(), BLI_scanfill_vert_add(), BM_face_uv_calc_center_median(), BM_face_uv_calc_center_median_weighted(), bm_loop_collapse_is_degenerate(), bm_vert_pair_to_matrix(), clip_draw_main(), computeBindWeights(), ED_mask_cursor_location_get(), ED_mask_mouse_pos(), ED_mask_point_pos(), ED_mask_point_pos__reverse(), ED_uvedit_median_multi(), ED_view3d_cursor3d_update(), ED_view3d_project_float_v2_m4(), edbm_rip_edge_invoke(), edge_slide_data_init_mval(), gizmo2d_calc_bounds(), gizmo_cage2d_invoke(), gizmo_cage2d_modal(), gizmo_calc_rect_view_margin(), gpencil_check_collision(), gpencil_primitive_modal(), gpencil_primitive_move(), gpencil_primitive_update_strokes(), gpencil_reset_transform_fill_exec(), gpencil_uv_transform_init(), gpencil_vfx_rim(), gpencil_vfx_shadow(), init_all_tracks(), knife_pos_data_clear(), layerInterp_mloop_origspace(), layerInterp_mloopuv(), layerValidate_mloopuv(), mask_parent_set_exec(), normalize_v2_v2_length(), object_init(), object_warp_transverts(), paint_2d_new_stroke(), blender::compositor::DisplaceOperation::pixel_transform(), blender::compositor::MapUVOperation::pixel_transform(), project_v2_v2v2(), resolve_quad_uv_v2_deriv(), resolve_tri_uv_v2(), resolve_tri_uv_v3(), sculpt_update_cache_invariants(), seq_get_strip_pivot_median(), seq_image_transform_quad_get_ex(), setup_pivot(), smart_project_exec(), stabilization_determine_offset_for_frame(), tracking_average_tracks(), uv_nearest_image_tile_distance(), uv_rip_pairs_calc_center_and_direction(), uvedit_center(), view3d_center_lock_exec(), and vwpaint_update_cache_invariants().

◆ zero_v2_int()

MINLINE void zero_v2_int ( int  r[2])

◆ zero_v3()

MINLINE void zero_v3 ( float  r[3])

Definition at line 21 of file math_vector_inline.c.

References r.

Referenced by blender::compositor::NodeOperationBuilder::add_input_constant_value(), annotation_stroke_convertcoords(), apply_layer_settings(), apply_objects_internal(), apply_weights_vertex_normal(), applyarmature_transfer_properties(), ApplySnapTranslation(), armature_vert_task_with_dvert(), axis_angle_to_quat_single(), blender::draw::axis_from_enum_v3(), basic_integrate(), basic_rotate(), bevel_vert_two_edges(), bindVert(), BKE_brush_sculpt_reset(), BKE_constraint_mat_convertspace(), BKE_curve_center_median(), BKE_displist_minmax(), BKE_editmesh_cache_calc_minmax(), BKE_gpencil_brush_preset_set(), BKE_gpencil_from_image(), BKE_gpencil_instance_modifier_instance_tfm(), BKE_gpencil_layer_addnew(), BKE_gpencil_merge_materials_table_get(), BKE_gpencil_stroke_normal(), BKE_gpencil_stroke_stretch(), BKE_lattice_center_median(), BKE_mball_center_median(), BKE_mesh_calc_volume(), BKE_mesh_center_median(), BKE_mesh_center_median_from_polys(), BKE_mesh_center_of_surface(), BKE_mesh_center_of_volume(), BKE_mesh_remesh_voxel_fix_poles(), BKE_mesh_validate_arrays(), BKE_nurb_bpoint_calc_normal(), BKE_nurb_makeCurve(), BKE_nurb_makeFaces(), BKE_object_dimensions_get(), BKE_paint_init(), BKE_pbvh_bounding_box(), BKE_pchan_bbone_spline_compute(), BKE_pchan_bbone_spline_params_get(), BKE_pose_channel_ensure(), BKE_pose_rest(), BKE_rigidbody_calc_center_of_mass(), BKE_sim_debug_data_add_element(), BKE_subdiv_eval_displacement(), BLI_bvhtree_get_bounding_box(), BLI_covariance_m3_v3n(), BLI_scanfill_calc_ex(), blo_do_versions_290(), BM_edgeloop_calc_center(), BM_edgeloop_calc_normal(), BM_edgeloop_calc_normal_aligned(), bm_edgering_pair_interpolate(), BM_face_calc_area(), BM_face_calc_area_with_mat3(), BM_face_calc_center_median(), BM_face_calc_center_median_weighted(), BM_face_calc_normal_subset(), bm_face_calc_poly_center_median_vertex_cos(), bm_face_calc_poly_normal(), bm_face_calc_poly_normal_vertex_cos(), BM_face_calc_tangent_edge_diagonal(), BM_face_calc_tangent_vert_diagonal(), BM_face_create(), bm_grid_fill_array(), BM_mesh_edgeloops_calc_order(), bm_mesh_loops_assign_normal_data(), BM_vert_calc_normal(), BM_vert_calc_normal_ex(), bm_vert_calc_normals_impl(), bm_vert_calc_normals_with_coords(), BM_vert_create(), BM_vert_normal_update_all(), bmesh_selected_verts_center_calc(), bmo_collapse_exec(), bmo_create_circle_exec(), bmo_extrude_face_region_exec(), bmo_inset_region_exec(), bmo_smooth_vert_exec(), boid_brain(), brush_puff(), blender::compositor::KeyingScreenOperation::build_voronoi_triangulation(), button2d_draw_intern(), C_BVHTree_FromPolygons(), C_Matrix_LocRotScale(), calc_bbox(), calc_solidify_normals(), calcEdgeSlide_mval_range(), camera_frame_fit_calc_from_data(), camera_stereoscopy_extra(), check_item_poly_strength(), cloth_brush_simulation_location_get(), cloth_bvh_objcollisions_resolve(), cloth_bvh_selfcollisions_resolve(), cloth_collision_response_static(), cloth_continuum_add_hair_segments(), cloth_continuum_step(), cloth_filter_apply_forces_task_cb(), cloth_solve_collisions(), collision_interpolateOnTriangle(), collision_move_object(), Color_CreatePyObject(), colorband_init_from_table_rgba_simple(), convertViewVec(), blender::io::alembic::copy_m44_axis_swap(), createEdgeSlideVerts_double_side(), createTransGPencil_center_get(), cross_poly_v3(), cubic_subdiv(), deformVert(), dist_squared_to_projected_aabb_precalc(), distribute_grid(), do_cloth_brush_apply_forces_task_cb_ex(), blender::compositor::RenderLayersProg::do_interpolation(), do_kink_spiral(), do_physical_effector(), do_pose_brush_task_cb_ex(), do_projectpaint_thread(), do_texture_effector(), draw_bone_degrees_of_freedom(), draw_circle_in_quad(), drw_manager_init(), DRW_text_edit_mesh_measure_stats(), dyntopo_detail_size_edit_invoke(), ebone_spline_preview(), ED_armature_ebone_add_primitive(), ED_armature_origin_set(), ed_editcurve_addvert(), ED_gpencil_init_random_settings(), ED_gpencil_project_point_to_plane(), ED_gpencil_project_stroke_to_plane(), ED_gpencil_reset_layers_parent(), ED_object_rotation_from_view(), ED_object_xform_array_m4(), ED_transform_calc_gizmo_stats(), ED_view3d_clipping_clamp_minmax(), ED_view3d_project_float_v3_m4(), edbm_average_normals_exec(), edbm_dupli_extrude_cursor_invoke(), edbm_normals_tools_exec(), edbm_point_normals_modal(), edge_wind_vertex(), EEVEE_lookdev_draw(), EEVEE_sample_ellipse(), EEVEE_sample_rectangle(), element_accumulator_init(), Euler_CreatePyObject(), Euler_zero(), eulO_to_gimbal_axis(), blender::compositor::BufferLineAccumulator< fxu, fxv, fyu, fyv >::eval(), blender::compositor::GlareThresholdOperation::execute_pixel_sampled(), blender::compositor::RenderLayersProg::execute_pixel_sampled(), blender::compositor::RenderLayersAOOperation::execute_pixel_sampled(), blender::draw::extract_fdots_pos_iter_poly_bm(), blender::draw::extract_fdots_pos_iter_poly_mesh(), eyedropper_color_sample_fl(), eyedropper_cryptomatte_sample_renderlayer_fl(), eyedropper_modal(), flyApply(), followtrack_evaluate_using_2d_position(), FRS_do_stroke_rendering(), frustum_min_bounding_sphere(), get_effector_data(), get_selected_center(), get_surrounding_color(), getSingleCoordinate(), getTransformOrientation_ex(), give_parvert(), gizmo_cage2d_modal(), gizmo_cage3d_invoke(), gizmo_cage3d_modal(), gizmo_move_modal(), gizmo_move_property_update(), gpencil_brush_calc_midpoint(), gpencil_check_same_material_color(), gpencil_convert_old_files_exec(), gpencil_point_xy_to_3d(), gpencil_sbuffer_vertex_color_random(), gpencil_snap_cursor_to_sel(), gpencil_stroke_center(), gpencil_stroke_convertcoords(), gpencil_stroke_convertcoords_tpoint(), GPU_matrix_unproject_3fv(), initFlyInfo(), initNumInput(), initShrinkFatten(), initTransInfo(), initWalkInfo(), integrate_particle(), knife_pos_data_clear(), knife_start_cut(), layerInterp_mvert_skin(), layerInterp_shapekey(), make_duplis_font(), make_duplis_particle_system(), mesh_calc_center_centroid_ex(), mesh_calc_ngon_center(), mesh_calc_ngon_normal(), mesh_calc_ngon_normal_coords(), mesh_calc_normals_poly_and_vertex_accum_fn(), mesh_calc_poly_area_centroid(), mesh_calc_poly_volume_centroid(), mesh_calc_poly_volume_centroid_with_reference_center(), mesh_calc_tessellation_for_face_impl(), mesh_faces_to_scratch(), mesh_normals_loop_custom_set(), mesh_tessface_calc(), meshdeform_vert_task(), meshdeformModifier_do(), mid_v3_v3_array(), MOD_lineart_chain_feature_lines(), MOD_solidify_nonmanifold_modifyMesh(), modifyMesh(), move3d_draw_intern(), multitex_nodes_intern(), neighbor_dirty_mask(), normalize_v3_v3_length(), normals_merge(), normals_split(), ntreeCompositCryptomatteSyncFromAdd(), ntreeCompositCryptomatteSyncFromRemove(), object_clear_rot(), object_origin_set_exec(), offset_in_plane(), offset_meet(), OVERLAY_bounds(), OVERLAY_lightprobe_cache_populate(), p_add_ngon(), paint_brush_update(), paint_line_strokes_spacing(), paint_space_stroke(), palette_color_add_exec(), particles_fluid_step(), pbvh_update_normals_clear_task_cb(), pchan_clear_rot(), pointdensity(), pointdensity_cache_psys(), poly_avg(), pose_ik_chain_init_face_sets(), pose_ik_chain_init_face_sets_fk(), project_v3_v3v3(), projection_matrix_calc(), psys_get_birth_coords(), psys_thread_create_path(), ptcache_cloth_extra_read(), quat_split_swing_and_twist(), RE_point_density_minmax(), read_displacement_grid(), recalc_face_normals_find_index(), remesh_symmetry_bisect(), reset_tw_center(), reshape_subdiv_refine_final_P(), reshape_subdiv_refine_orig_P(), return_editcurve_indexar(), return_editlattice_indexar(), return_editmesh_indexar(), rotate_eulO(), rotateDifferentialCoordinates(), rotlike_evaluate(), save_hair(), scan_for_ext_face_forces(), scene_blend_read_data(), SCULPT_bmesh_four_neighbor_average(), sculpt_boundary_twist_data_init(), SCULPT_cache_calc_brushdata_symm(), SCULPT_calc_area_center(), SCULPT_calc_area_normal_and_center(), SCULPT_calc_brush_plane(), SCULPT_cursor_geometry_info_update(), sculpt_mask_expand_modal(), SCULPT_pose_calc_pose_data(), sculpt_pose_grow_pose_factor(), SCULPT_relax_vertex(), sculpt_set_pivot_position_exec(), sculpt_update_brush_delta(), set_origin_exec(), set_profile_params(), shrinkwrap_get_tarmat(), SIM_cloth_solve(), SIM_hair_volume_grid_clear(), SIM_hair_volume_solve_divergence(), SIM_hair_volume_vertex_grid_forces(), SIM_mass_spring_clear_constraints(), SIM_mass_spring_force_face_extern(), SIM_mass_spring_force_pressure(), SIM_mass_spring_force_spring_bending_hair(), snap_calc_view3d_fn(), snap_curs_to_center_exec(), snap_curs_to_sel_ex(), snap_target_median_impl(), softbody_reset(), sph_particle_courant(), splineik_evaluate_bone(), splineik_evaluate_init(), spring_hairbend_forces(), spring_length(), stroke_elem_project(), stroke_elem_project_fallback(), subsurf_calculate_limit_positions(), tangent_from_uv_v3(), transform_convert_mesh_islands_calc(), transform_mode_init(), ui_apply_but(), ui_but_v3_get(), blender::compositor::GlareThresholdOperation::update_memory_buffer_partial(), updateDuplicateActionConstraintSettings(), uv_map_rotation_matrix_ex(), uv_map_transform_calc_center_median(), uv_map_transform_center(), uvedit_unwrap_cube_project(), v3d_cursor_snap_update(), vcloud_estimate_transform_v3(), vertid(), view3d_all_exec(), view3d_orbit_calc_center(), vmesh_center(), vwpaint_pbvh_gather_generic(), walkApply(), wm_xr_grab_compute(), wm_xr_navigation_reset_exec(), wm_xr_session_controller_data_update(), WM_xr_session_state_controller_aim_location_get(), WM_xr_session_state_controller_grip_location_get(), WM_xr_session_state_nav_location_get(), WM_xr_session_state_navigation_reset(), wm_xr_session_state_update(), and WM_xr_session_state_viewer_pose_location_get().

◆ zero_v3_db()

MINLINE void zero_v3_db ( double  r[3])

Definition at line 212 of file math_vector_inline.c.

References r.

Referenced by normalize_v3_v3_length_db(), and project_v3_v3v3_db().

◆ zero_v3_int()

MINLINE void zero_v3_int ( int  r[3])

Definition at line 182 of file math_vector_inline.c.

References r.

Referenced by cloth_continuum_step(), and direct_link_lightcache_texture().

◆ zero_v4()

MINLINE void zero_v4 ( float  r[4])

Definition at line 28 of file math_vector_inline.c.

References r.

Referenced by blender::compositor::NodeOperationBuilder::add_input_constant_value(), bake_targets_output_vertex_colors(), bicubic_interpolation(), BKE_brush_sample_masktex(), BKE_brush_sample_tex_3d(), BKE_colorband_element_add(), BKE_driver_target_matrix_to_rot_channels(), BLI_ewa_filter(), blender::compositor::blur_pixel(), boxsampleclip(), distribute_from_verts_exec(), blender::compositor::RenderLayersProg::do_interpolation(), do_projectpaint_soften(), do_projectpaint_soften_f(), DRW_globals_update(), ED_gpencil_fill_vertex_color_set(), ED_gpencil_point_vertex_color_set(), ED_gpencil_tpoint_to_point(), ED_image_draw_info(), blender::compositor::BufferLineAccumulator< fxu, fxv, fyu, fyv >::eval(), blender::compositor::BilateralBlurOperation::execute_pixel(), blender::compositor::BokehBlurOperation::execute_pixel(), blender::compositor::ConvolutionFilterOperation::execute_pixel(), blender::compositor::DespeckleOperation::execute_pixel(), blender::compositor::ScreenLensDistortionOperation::execute_pixel(), blender::compositor::SMAABlendingWeightCalculationOperation::execute_pixel(), blender::compositor::CropOperation::execute_pixel_sampled(), blender::compositor::CropImageOperation::execute_pixel_sampled(), blender::compositor::ImageOperation::execute_pixel_sampled(), blender::compositor::MapUVOperation::execute_pixel_sampled(), blender::compositor::MovieClipBaseOperation::execute_pixel_sampled(), blender::compositor::MultilayerColorOperation::execute_pixel_sampled(), blender::compositor::PlaneDistortWarpImageOperation::execute_pixel_sampled(), blender::compositor::RenderLayersProg::execute_pixel_sampled(), eyedropper_add_material(), gizmo_axis_draw(), gizmo_mesh_spin_redo_setup(), gpencil_reset_vertex(), image_sample(), image_sample_rect_color_float(), image_sample_rect_color_ubyte(), interp_weights_quad_v3(), nearest_interpolation_color_fl(), nlaevalchan_get_default_values(), node_gpu_stack_from_data(), paint_2d_lift_soften(), paint_and_tex_color_alpha_intern(), blender::bke::pbvh_vertex_color_get(), project_paint_uvpixel_init(), RVBlurBitmap2_float(), SCULPT_brush_test_init(), SCULPT_do_paint_brush(), svd_m4(), blender::compositor::ConvolutionFilterOperation::update_memory_buffer_partial(), blender::compositor::CropOperation::update_memory_buffer_partial(), blender::compositor::CropImageOperation::update_memory_buffer_partial(), blender::compositor::CryptomatteOperation::update_memory_buffer_partial(), blender::compositor::DespeckleOperation::update_memory_buffer_partial(), blender::compositor::MapUVOperation::update_memory_buffer_partial(), blender::compositor::PlaneDistortWarpImageOperation::update_memory_buffer_partial(), blender::compositor::ScreenLensDistortionOperation::update_memory_buffer_partial(), and blender::compositor::SMAABlendingWeightCalculationOperation::update_memory_buffer_partial().