Merge pull request #410 from EasyIP2023/bugfix/mat4x2-multiplication

mat4x2: fix multiplication functions
This commit is contained in:
Recep Aslantas authored and GitHub committed 2024-03-31 23:43:11 +03:00
commit f07d75c680
6 files changed
+97 -62

No files matched your search

+2 -2
View File
@@ -28,13 +28,13 @@ glmc_mat4x2_make(const float * __restrict src, mat4x2 dest) {
CGLM_EXPORT
void
glmc_mat4x2_mul(mat4x2 m1, mat2x4 m2, mat4 dest) {
glmc_mat4x2_mul(mat4x2 m1, mat2x4 m2, mat2 dest) {
glm_mat4x2_mul(m1, m2, dest);
}
CGLM_EXPORT
void
glmc_mat4x2_mulv(mat4x2 m, vec2 v, vec4 dest) {
glmc_mat4x2_mulv(mat4x2 m, vec4 v, vec2 dest) {
glm_mat4x2_mulv(m, v, dest);
}