mat3: add new function glm_mat3_make

Function takes in a 9 element float array
and converts it into a mat3 matrix.

Signed-off-by: Vincent Davis Jr <[email protected]>
This commit is contained in:
Vincent Davis Jr committed 2023-05-14 20:56:25 -05:00
1 parent 9772948831
commit 0566a040c0
7 files changed
+79

No files matched your search

+6
View File
@@ -103,3 +103,9 @@ float
glmc_mat3_rmc(vec3 r, mat3 m, vec3 c) {
return glm_mat3_rmc(r, m, c);
}
CGLM_EXPORT
void
glmc_mat3_make(float * __restrict src, mat3 dest) {
glm_mat3_make(src, dest);
}