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

@@ -20,6 +20,12 @@ glmc_mat3_identity(mat3 mat) {
glm_mat3_identity(mat);
}
CGLM_EXPORT
void
glmc_mat3_identity_array(mat3 * __restrict mat, size_t count) {
glm_mat3_identity_array(mat, count);
}
CGLM_EXPORT
void
glmc_mat3_mul(mat3 m1, mat3 m2, mat3 dest) {