func for make matrix identity

This commit is contained in:
Recep Aslantas
2017-05-29 20:52:38 +03:00
parent 3728102644
commit 3fbf590d39
6 changed files with 62 additions and 0 deletions

View File

@@ -19,6 +19,12 @@ glmc_mat4_copy(mat4 mat, mat4 dest) {
glm_mat4_copy(mat, dest);
}
CGLM_EXPORT
void
glmc_mat4_identity(mat4 mat) {
glm_mat4_identity(mat);
}
CGLM_EXPORT
void
glmc_mat4_pick3(mat4 mat, mat3 dest) {

View File

@@ -13,6 +13,12 @@ glmc_mat3_copy(mat3 mat, mat3 dest) {
glm_mat3_copy(mat, dest);
}
CGLM_EXPORT
void
glmc_mat3_identity(mat3 mat) {
glm_mat3_identity(mat);
}
CGLM_EXPORT
void
glmc_mat3_mul(mat3 m1, mat3 m2, mat3 dest) {