- blend_m3_m3m3 and blend_m4_m4m4 now support matrices with negative scales.
- python/mathutils api matrix.lerp(other, factor) - new function mat3_to_rot_size(), like mat4_to_loc_rot_size but with no location.
This commit is contained in:
@@ -144,6 +144,8 @@ void mat4_to_size(float r[3], float M[4][4]);
|
||||
void translate_m4(float mat[4][4], float tx, float ty, float tz);
|
||||
void rotate_m4(float mat[4][4], const char axis, const float angle);
|
||||
|
||||
|
||||
void mat3_to_rot_size(float rot[3][3], float size[3], float mat3[][3]);
|
||||
void mat4_to_loc_rot_size(float loc[3], float rot[3][3], float size[3], float wmat[][4]);
|
||||
|
||||
void loc_eul_size_to_mat4(float R[4][4],
|
||||
@@ -155,8 +157,8 @@ void loc_quat_size_to_mat4(float R[4][4],
|
||||
void loc_axisangle_size_to_mat4(float R[4][4],
|
||||
const float loc[3], const float axis[4], const float angle, const float size[3]);
|
||||
|
||||
void blend_m3_m3m3(float R[3][3], float A[3][3], float B[3][3], float t);
|
||||
void blend_m4_m4m4(float R[4][4], float A[4][4], float B[4][4], float t);
|
||||
void blend_m3_m3m3(float R[3][3], float A[3][3], float B[3][3], const float t);
|
||||
void blend_m4_m4m4(float R[4][4], float A[4][4], float B[4][4], const float t);
|
||||
|
||||
int is_negative_m3(float mat[3][3]);
|
||||
int is_negative_m4(float mat[4][4]);
|
||||
|
||||
Reference in New Issue
Block a user