identiy helper for arrays (matrix/quaternion)

this helpers makes all array elements identity
This commit is contained in:
Recep Aslantas
2018-09-12 12:44:11 +03:00
parent 2e1790ccf9
commit 98da3daf82
16 changed files with 122 additions and 7 deletions

View File

@@ -26,6 +26,12 @@ glmc_mat4_identity(mat4 mat) {
glm_mat4_identity(mat);
}
CGLM_EXPORT
void
glmc_mat4_identity_array(mat4 * __restrict mat, size_t count) {
glm_mat4_identity_array(mat, count);
}
CGLM_EXPORT
void
glmc_mat4_pick3(mat4 mat, mat3 dest) {