|
Blender V5.3
|
#include <algorithm>#include "BLI_math_base_c.hh"#include "BLI_math_vector_c.hh"#include "BLI_math_base_safe.hh"#include "BLI_math_geom_c.hh"#include "BLI_math_rotation_c.hh"#include "BLI_strict_flags.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | SWAP_AXIS(a, b) |
Functions | |
Interpolation | |
| void | blender::interp_v2_v2v2 (float r[2], const float a[2], const float b[2], float t) |
| void | blender::interp_v2_v2v2v2 (float r[2], const float a[2], const float b[2], const float c[2], const float t[3]) |
| void | blender::interp_v3_v3v3 (float r[3], const float a[3], const float b[3], float t) |
| void | blender::interp_v4_v4v4 (float r[4], const float a[4], const float b[4], float t) |
| bool | blender::interp_v3_v3v3_slerp (float target[3], const float a[3], const float b[3], float t) ATTR_WARN_UNUSED_RESULT |
| void | blender::interp_v3_v3v3_slerp_safe (float target[3], const float a[3], const float b[3], float t) |
| void | blender::interp_v2_v2v2v2v2_cubic (float p[2], const float v1[2], const float v2[2], const float v3[2], const float v4[2], float u) |
| void | blender::interp_v3_v3v3v3 (float p[3], const float v1[3], const float v2[3], const float v3[3], const float w[3]) |
| void | blender::interp_v3_v3v3v3v3 (float p[3], const float v1[3], const float v2[3], const float v3[3], const float v4[3], const float w[4]) |
| void | blender::interp_v4_v4v4v4 (float p[4], const float v1[4], const float v2[4], const float v3[4], const float w[3]) |
| void | blender::interp_v4_v4v4v4v4 (float p[4], const float v1[4], const float v2[4], const float v3[4], const float v4[4], const float w[4]) |
| void | blender::interp_v3_v3v3v3_uv (float p[3], const float v1[3], const float v2[3], const float v3[3], const float uv[2]) |
| void | blender::interp_v3_v3v3_uchar (unsigned char target[3], const unsigned char a[3], const unsigned char b[3], float t) |
| void | blender::mid_v3_v3v3 (float r[3], const float a[3], const float b[3]) |
| void | blender::mid_v2_v2v2 (float r[2], const float a[2], const float b[2]) |
| void | blender::mid_v2_v2v2v2 (float v[2], const float v1[2], const float v2[2], const float v3[2]) |
| void | blender::mid_v3_v3v3v3 (float v[3], const float v1[3], const float v2[3], const float v3[3]) |
| void | blender::mid_v3_v3v3v3v3 (float v[3], const float v1[3], const float v2[3], const float v3[3], const float v4[3]) |
| void | blender::mid_v3_v3_array (float r[3], const float(*vec_arr)[3], unsigned int vec_arr_num) |
| void | blender::mid_v3_v3v3_angle_weighted (float r[3], const float a[3], const float b[3]) |
| void | blender::interp_v3_v3v3_db (double target[3], const double a[3], const double b[3], double t) |
| void | blender::interp_v2_v2v2_db (double target[2], const double a[2], const double b[2], double t) |
Angles | |
| float | blender::angle_v3v3v3 (const float a[3], const float b[3], const float c[3]) ATTR_WARN_UNUSED_RESULT |
| float | blender::cos_v3v3v3 (const float p1[3], const float p2[3], const float p3[3]) ATTR_WARN_UNUSED_RESULT |
| float | blender::angle_v3v3 (const float a[3], const float b[3]) ATTR_WARN_UNUSED_RESULT |
| float | blender::angle_v2v2v2 (const float a[2], const float b[2], const float c[2]) ATTR_WARN_UNUSED_RESULT |
| float | blender::cos_v2v2v2 (const float p1[2], const float p2[2], const float p3[2]) ATTR_WARN_UNUSED_RESULT |
| float | blender::angle_v2v2 (const float a[2], const float b[2]) ATTR_WARN_UNUSED_RESULT |
| float | blender::angle_signed_v2v2 (const float v1[2], const float v2[2]) ATTR_WARN_UNUSED_RESULT |
| float | blender::angle_normalized_v3v3 (const float v1[3], const float v2[3]) ATTR_WARN_UNUSED_RESULT |
| float | blender::angle_normalized_v2v2 (const float a[2], const float b[2]) ATTR_WARN_UNUSED_RESULT |
| float | blender::angle_on_axis_v3v3_v3 (const float v1[3], const float v2[3], const float axis[3]) ATTR_WARN_UNUSED_RESULT |
| float | blender::angle_signed_on_axis_v3v3_v3 (const float v1[3], const float v2[3], const float axis[3]) ATTR_WARN_UNUSED_RESULT |
| float | blender::angle_on_axis_v3v3v3_v3 (const float v1[3], const float v2[3], const float v3[3], const float axis[3]) ATTR_WARN_UNUSED_RESULT |
| float | blender::angle_signed_on_axis_v3v3v3_v3 (const float v1[3], const float v2[3], const float v3[3], const float axis[3]) ATTR_WARN_UNUSED_RESULT |
| void | blender::angle_tri_v3 (float angles[3], const float v1[3], const float v2[3], const float v3[3]) |
| void | blender::angle_quad_v3 (float angles[4], const float v1[3], const float v2[3], const float v3[3], const float v4[3]) |
| void | blender::angle_poly_v3 (float *angles, const float *verts[3], int len) |
Geometry | |
| void | blender::project_v2_v2v2 (float out[2], const float p[2], const float v_proj[2]) |
| void | blender::project_v3_v3v3 (float out[3], const float p[3], const float v_proj[3]) |
| void | blender::project_v2_v2v2_normalized (float out[2], const float p[2], const float v_proj[2]) |
| void | blender::project_v3_v3v3_normalized (float out[3], const float p[3], const float v_proj[3]) |
| void | blender::project_plane_v3_v3v3 (float out[3], const float p[3], const float v_plane[3]) |
| void | blender::project_plane_normalized_v3_v3v3 (float out[3], const float p[3], const float v_plane[3]) |
| void | blender::project_v3_plane (float out[3], const float plane_no[3], const float plane_co[3]) |
| void | blender::bisect_v3_v3v3v3 (float r[3], const float a[3], const float b[3], const float c[3]) |
| void | blender::reflect_v3_v3v3 (float out[3], const float v[3], const float normal[3]) |
| void | blender::ortho_basis_v3v3_v3 (float r_n1[3], float r_n2[3], const float n[3]) |
| void | blender::ortho_v3_v3 (float out[3], const float v[3]) |
| void | blender::ortho_v2_v2 (float out[2], const float v[2]) |
| void | blender::rotate_v2_v2fl (float r[2], const float p[2], float angle) |
| void | blender::rotate_normalized_v3_v3v3fl (float out[3], const float p[3], const float axis[3], float angle) |
| void | blender::rotate_v3_v3v3fl (float r[3], const float p[3], const float axis[3], float angle) |
Other | |
| void | blender::print_v2 (const char *str, const float v[2]) |
| void | blender::print_v3 (const char *str, const float v[3]) |
| void | blender::print_v4 (const char *str, const float v[4]) |
| void | blender::print_vn (const char *str, const float v[], int n) |
| void | blender::minmax_v4v4_v4 (float min[4], float max[4], const float vec[4]) |
| void | blender::minmax_v3v3_v3 (float min[3], float max[3], const float vec[3]) |
| void | blender::minmax_v2v2_v2 (float min[2], float max[2], const float vec[2]) |
| void | blender::dist_ensure_v3_v3fl (float v1[3], const float v2[3], float dist) |
| void | blender::dist_ensure_v2_v2fl (float v1[2], const float v2[2], float dist) |
| void | blender::axis_sort_v3 (const float axis_values[3], int r_axis_order[3]) |
Array Functions | |
| MINLINE double | blender::sqr_db (double f) |
| double | blender::dot_vn_vn (const float *array_src_a, const float *array_src_b, int size) ATTR_WARN_UNUSED_RESULT |
| double | blender::len_squared_vn (const float *array, int size) ATTR_WARN_UNUSED_RESULT |
| float | blender::normalize_vn_vn (float *array_tar, const float *array_src, int size) |
| float | blender::normalize_vn (float *array_tar, int size) |
| void | blender::range_vn_fl (float *array_tar, int size, float start, float step) |
| void | blender::negate_vn (float *array_tar, int size) |
| void | blender::negate_vn_vn (float *array_tar, const float *array_src, int size) |
| void | blender::mul_vn_vn (float *array_tar, const float *array_src, int size) |
| void | blender::mul_vn_vnvn (float *array_tar, const float *array_src_a, const float *array_src_b, int size) |
| void | blender::mul_vn_fl (float *array_tar, int size, float f) |
| void | blender::mul_vn_vn_fl (float *array_tar, const float *array_src, int size, float f) |
| void | blender::add_vn_vn (float *array_tar, const float *array_src, int size) |
| void | blender::add_vn_vnvn (float *array_tar, const float *array_src_a, const float *array_src_b, int size) |
| void | blender::sub_vn_vn (float *array_tar, const float *array_src, int size) |
| void | blender::sub_vn_vnvn (float *array_tar, const float *array_src_a, const float *array_src_b, int size) |
| void | blender::interp_vn_vn (float *array_tar, const float *array_src, float t, int size) |
| void | blender::add_vn_vn_d (double *array_tar, const double *array_src, int size) |
| void | blender::add_vn_vnvn_d (double *array_tar, const double *array_src_a, const double *array_src_b, int size) |
| void | blender::mul_vn_db (double *array_tar, int size, double f) |
| #define SWAP_AXIS | ( | a, | |
| b ) |
Referenced by blender::axis_sort_v3().