Add function to multiply 4x4 matrix by 4D vector

This commit is contained in:
2024-07-07 23:18:00 +01:00
parent 7823e92861
commit 44c7b6ac1b
2 changed files with 14 additions and 0 deletions

View File

@@ -128,6 +128,7 @@ mat4x4f_t get_scaling_matrix(vec3f_t scale);
mat3x3f_t get_rotation_mat3x3f(vec3f_t rotation);
vec3f_t mul_mat3x4f_by_vec4f(mat3x4f_t mat, vec4f_t vec);
mat3x4f_t mul_mat3x4f_by_mat4x4f(mat3x4f_t mat1, mat4x4f_t mat2);
vec4f_t mul_mat4x4f_by_vec4f(mat4x4f_t mat, vec4f_t vec);
mat4x4f_t mul_mat4x4f(mat4x4f_t mat1, mat4x4f_t mat2);
#endif // !VEC_H