|
| DO_INLINE void | blender::mul_fvector_S (float to[3], const float from[3], float scalar) |
| DO_INLINE void | blender::mul_fvectorT_fvector (float to[3][3], const float vectorA[3], const float vectorB[3]) |
| DO_INLINE void | blender::mul_fvectorT_fvectorS (float to[3][3], float vectorA[3], float vectorB[3], float aS) |
| DO_INLINE lfVector * | blender::create_lfvector (uint verts) |
| DO_INLINE void | blender::del_lfvector (float(*fLongVector)[3]) |
| DO_INLINE void | blender::cp_lfvector (float(*to)[3], float(*from)[3], uint verts) |
| DO_INLINE void | blender::init_lfvector (float(*fLongVector)[3], const float vector[3], uint verts) |
| DO_INLINE void | blender::zero_lfvector (float(*to)[3], uint verts) |
| DO_INLINE void | blender::mul_lfvectorS (float(*to)[3], float(*fLongVector)[3], float scalar, uint verts) |
| DO_INLINE void | blender::submul_lfvectorS (float(*to)[3], float(*fLongVector)[3], float scalar, uint verts) |
| DO_INLINE float | blender::dot_lfvector (float(*fLongVectorA)[3], float(*fLongVectorB)[3], uint verts) |
| DO_INLINE void | blender::add_lfvector_lfvector (float(*to)[3], float(*fLongVectorA)[3], float(*fLongVectorB)[3], uint verts) |
| DO_INLINE void | blender::add_lfvector_lfvectorS (float(*to)[3], float(*fLongVectorA)[3], float(*fLongVectorB)[3], float bS, uint verts) |
| DO_INLINE void | blender::add_lfvectorS_lfvectorS (float(*to)[3], float(*fLongVectorA)[3], float aS, float(*fLongVectorB)[3], float bS, uint verts) |
| DO_INLINE void | blender::sub_lfvector_lfvectorS (float(*to)[3], float(*fLongVectorA)[3], float(*fLongVectorB)[3], float bS, uint verts) |
| DO_INLINE void | blender::sub_lfvector_lfvector (float(*to)[3], float(*fLongVectorA)[3], float(*fLongVectorB)[3], uint verts) |
| DO_INLINE void | blender::cp_fmatrix (float to[3][3], const float from[3][3]) |
| DO_INLINE void | blender::initdiag_fmatrixS (float to[3][3], float aS) |
| DO_INLINE void | blender::mul_fmatrix_S (float matrix[3][3], float scalar) |
| DO_INLINE void | blender::mul_fvector_fmatrix (float *to, const float *from, const float matrix[3][3]) |
| DO_INLINE void | blender::mul_fmatrix_fvector (float *to, const float matrix[3][3], const float from[3]) |
| DO_INLINE void | blender::add_fmatrix_fmatrix (float to[3][3], const float matrixA[3][3], const float matrixB[3][3]) |
| DO_INLINE void | blender::subadd_fmatrixS_fmatrixS (float to[3][3], const float matrixA[3][3], float aS, const float matrixB[3][3], float bS) |
| DO_INLINE void | blender::sub_fmatrix_fmatrix (float to[3][3], const float matrixA[3][3], const float matrixB[3][3]) |
| DO_INLINE void | blender::muladd_fmatrix_fvector (float to[3], const float matrix[3][3], const float from[3]) |
| DO_INLINE void | blender::muladd_fmatrixT_fvector (float to[3], const float matrix[3][3], const float from[3]) |
| BLI_INLINE void | blender::outerproduct (float r[3][3], const float a[3], const float b[3]) |
| BLI_INLINE void | blender::cross_m3_v3m3 (float r[3][3], const float v[3], const float m[3][3]) |
| BLI_INLINE void | blender::cross_v3_identity (float r[3][3], const float v[3]) |
| BLI_INLINE void | blender::init_fmatrix (fmatrix3x3 *matrix, int r, int c) |
| DO_INLINE fmatrix3x3 * | blender::create_bfmatrix (uint verts, uint springs) |
| DO_INLINE void | blender::del_bfmatrix (fmatrix3x3 *matrix) |
| DO_INLINE void | blender::cp_bfmatrix (fmatrix3x3 *to, fmatrix3x3 *from) |
| DO_INLINE void | blender::init_bfmatrix (fmatrix3x3 *matrix, float m3[3][3]) |
| DO_INLINE void | blender::initdiag_bfmatrix (fmatrix3x3 *matrix, float m3[3][3]) |
| DO_INLINE void | blender::mul_bfmatrix_lfvector (float(*to)[3], fmatrix3x3 *from, lfVector *fLongVector) |
| DO_INLINE void | blender::subadd_bfmatrixS_bfmatrixS (fmatrix3x3 *to, fmatrix3x3 *from, float aS, fmatrix3x3 *matrix, float bS) |
| Implicit_Data * | blender::SIM_mass_spring_solver_create (int numverts, int numsprings) |
| void | blender::SIM_mass_spring_solver_free (Implicit_Data *id) |
| BLI_INLINE void | blender::world_to_root_v3 (Implicit_Data *data, int index, float r[3], const float v[3]) |
| BLI_INLINE void | blender::root_to_world_v3 (Implicit_Data *data, int index, float r[3], const float v[3]) |
| BLI_INLINE void | blender::world_to_root_m3 (Implicit_Data *data, int index, float r[3][3], const float m[3][3]) |
| BLI_INLINE void | blender::root_to_world_m3 (Implicit_Data *data, int index, float r[3][3], const float m[3][3]) |
| DO_INLINE void | blender::filter (lfVector *V, fmatrix3x3 *S) |
| static int | blender::cg_filtered (lfVector *ldV, fmatrix3x3 *lA, lfVector *lB, lfVector *z, fmatrix3x3 *S, ImplicitSolverResult *result) |
| bool | blender::SIM_mass_spring_solve_velocities (struct Implicit_Data *data, float dt, struct ImplicitSolverResult *result) |
| bool | blender::SIM_mass_spring_solve_positions (struct Implicit_Data *data, float dt) |
| void | blender::SIM_mass_spring_apply_result (struct Implicit_Data *data) |
| void | blender::SIM_mass_spring_set_vertex_mass (struct Implicit_Data *data, int index, float mass) |
| void | blender::SIM_mass_spring_set_rest_transform (struct Implicit_Data *data, int index, float tfm[3][3]) |
| void | blender::SIM_mass_spring_set_motion_state (struct Implicit_Data *data, int index, const float x[3], const float v[3]) |
| void | blender::SIM_mass_spring_set_position (struct Implicit_Data *data, int index, const float x[3]) |
| void | blender::SIM_mass_spring_set_velocity (struct Implicit_Data *data, int index, const float v[3]) |
| void | blender::SIM_mass_spring_get_motion_state (struct Implicit_Data *data, int index, float x[3], float v[3]) |
| void | blender::SIM_mass_spring_get_position (struct Implicit_Data *data, int index, float x[3]) |
| void | blender::SIM_mass_spring_get_velocity (struct Implicit_Data *data, int index, float v[3]) |
| void | blender::SIM_mass_spring_get_new_position (struct Implicit_Data *data, int index, float x[3]) |
| void | blender::SIM_mass_spring_set_new_position (struct Implicit_Data *data, int index, const float x[3]) |
| void | blender::SIM_mass_spring_get_new_velocity (struct Implicit_Data *data, int index, float v[3]) |
| void | blender::SIM_mass_spring_set_new_velocity (struct Implicit_Data *data, int index, const float v[3]) |
| static int | blender::SIM_mass_spring_add_block (Implicit_Data *data, int v1, int v2) |
| void | blender::SIM_mass_spring_clear_constraints (struct Implicit_Data *data) |
| void | blender::SIM_mass_spring_add_constraint_ndof0 (struct Implicit_Data *data, int index, const float dV[3]) |
| void | blender::SIM_mass_spring_add_constraint_ndof1 (struct Implicit_Data *data, int index, const float c1[3], const float c2[3], const float dV[3]) |
| void | blender::SIM_mass_spring_add_constraint_ndof2 (struct Implicit_Data *data, int index, const float c1[3], const float dV[3]) |
| void | blender::SIM_mass_spring_clear_forces (struct Implicit_Data *data) |
| void | blender::SIM_mass_spring_force_reference_frame (struct Implicit_Data *data, int index, const float acceleration[3], const float omega[3], const float domega_dt[3], float mass) |
| void | blender::SIM_mass_spring_force_gravity (struct Implicit_Data *data, int index, float mass, const float g[3]) |
| void | blender::SIM_mass_spring_force_drag (struct Implicit_Data *data, float drag) |
| void | blender::SIM_mass_spring_force_extern (struct Implicit_Data *data, int i, const float f[3], float dfdx[3][3], float dfdv[3][3]) |
| static float | blender::calc_nor_area_tri (float nor[3], const float v1[3], const float v2[3], const float v3[3]) |
| void | blender::SIM_mass_spring_force_face_wind (struct Implicit_Data *data, int v1, int v2, int v3, const float(*winvec)[3]) |
| void | blender::SIM_mass_spring_force_face_extern (struct Implicit_Data *data, int v1, int v2, int v3, const float(*forcevec)[3]) |
| float | blender::SIM_tri_tetra_volume_signed_6x (struct Implicit_Data *data, int v1, int v2, int v3) |
| float | blender::SIM_tri_area (struct Implicit_Data *data, int v1, int v2, int v3) |
| void | blender::SIM_mass_spring_force_pressure (struct Implicit_Data *data, int v1, int v2, int v3, float common_pressure, const float *vertex_pressure, const float weights[3]) |
| static void | blender::edge_wind_vertex (const float dir[3], float length, float radius, const float wind[3], float f[3], float[3][3], float[3][3]) |
| void | blender::SIM_mass_spring_force_edge_wind (struct Implicit_Data *data, int v1, int v2, float radius1, float radius2, const float(*winvec)[3]) |
| void | blender::SIM_mass_spring_force_vertex_wind (struct Implicit_Data *data, int v, float radius, const float(*winvec)[3]) |
| BLI_INLINE void | blender::dfdx_spring (float to[3][3], const float dir[3], float length, float L, float k) |
| BLI_INLINE void | blender::dfdv_damp (float to[3][3], const float dir[3], float damping) |
| BLI_INLINE float | blender::fb (float length, float L) |
| BLI_INLINE float | blender::fbderiv (float length, float L) |
| BLI_INLINE float | blender::fbstar (float length, float L, float kb, float cb) |
| BLI_INLINE float | blender::fbstar_jacobi (float length, float L, float kb, float cb) |
| BLI_INLINE bool | blender::spring_length (Implicit_Data *data, int i, int j, float r_extent[3], float r_dir[3], float *r_length, float r_vel[3]) |
| BLI_INLINE void | blender::apply_spring (Implicit_Data *data, int i, int j, const float f[3], const float dfdx[3][3], const float dfdv[3][3]) |
| bool | blender::SIM_mass_spring_force_spring_linear (struct Implicit_Data *data, int i, int j, float restlen, float stiffness_tension, float damping_tension, float stiffness_compression, float damping_compression, bool resist_compress, bool new_compress, float clamp_force) |
| bool | blender::SIM_mass_spring_force_spring_bending (struct Implicit_Data *data, int i, int j, float restlen, float kb, float cb) |
| BLI_INLINE void | blender::poly_avg (lfVector *data, const int *inds, int len, float r_avg[3]) |
| BLI_INLINE void | blender::poly_norm (lfVector *data, int i, int j, int *inds, int len, float r_dir[3]) |
| BLI_INLINE void | blender::edge_avg (lfVector *data, int i, int j, float r_avg[3]) |
| BLI_INLINE void | blender::edge_norm (lfVector *data, int i, int j, float r_dir[3]) |
| BLI_INLINE float | blender::bend_angle (const float dir_a[3], const float dir_b[3], const float dir_e[3]) |
| BLI_INLINE void | blender::spring_angle (Implicit_Data *data, int i, int j, int *i_a, int *i_b, int len_a, int len_b, float r_dir_a[3], float r_dir_b[3], float *r_angle, float r_vel_a[3], float r_vel_b[3]) |
| bool | blender::SIM_mass_spring_force_spring_angular (struct Implicit_Data *data, int i, int j, int *i_a, int *i_b, int len_a, int len_b, float restang, float stiffness, float damping) |
| BLI_INLINE void | blender::spring_grad_dir (Implicit_Data *data, int i, int j, float edge[3], float dir[3], float grad_dir[3][3]) |
| BLI_INLINE void | blender::spring_hairbend_forces (Implicit_Data *data, int i, int j, int k, const float goal[3], float stiffness, float damping, int q, const float dx[3], const float dv[3], float r_f[3]) |
| BLI_INLINE void | blender::spring_hairbend_estimate_dfdx (Implicit_Data *data, int i, int j, int k, const float goal[3], float stiffness, float damping, int q, float dfdx[3][3]) |
| BLI_INLINE void | blender::spring_hairbend_estimate_dfdv (Implicit_Data *data, int i, int j, int k, const float goal[3], float stiffness, float damping, int q, float dfdv[3][3]) |
| bool | blender::SIM_mass_spring_force_spring_bending_hair (struct Implicit_Data *data, int i, int j, int k, const float target[3], float stiffness, float damping) |
| bool | blender::SIM_mass_spring_force_spring_goal (struct Implicit_Data *data, int i, const float goal_x[3], const float goal_v[3], float stiffness, float damping) |
| BLI_INLINE void | blender::madd_m3_m3fl (float r[3][3], const float m[3][3], float f) |