From d4c6ae350feb29a27035087923f9184e3c969e77 Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Sat, 17 Sep 2016 12:50:45 +0300 Subject: [PATCH] fix fn calls --- include/cglm-mat.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/cglm-mat.h b/include/cglm-mat.h index 9a8d183..3c26329 100644 --- a/include/cglm-mat.h +++ b/include/cglm-mat.h @@ -54,13 +54,13 @@ glm_mat4_mul(mat4 m1, mat4 m2, mat4 dest) { #if defined( __SSE__ ) || defined( __SSE2__ ) CGLM_MAT_MUL_SSE_4x4f(l, r, d); #else - glm_mat_mul4_impl(l, r, d); + glm_mat4_mul_impl(l, r, d); #endif } else { #if defined( __SSE__ ) || defined( __SSE2__ ) CGLM_MAT_MUL_SSE_4x4f(l, l, d); #else - glm_mat_mul4_impl(l, l, d); + glm_mat4_mul_impl(l, l, d); #endif } } @@ -118,9 +118,9 @@ glm_mat4_transpose(mat4 m) { #else mat4 d; - glm_mat_transpose_to(m, d); + glm_mat4_transpose_to(m, d); - glm__memcpy(m, d, sizeof(mat4)); + glm__memcpy(float, m, d, sizeof(mat4)); #endif }