mirror of
https://github.com/recp/cglm.git
synced 2026-01-04 22:30:05 +00:00
mat2: add new function glm_mat2_make
Function takes in a 4 element float array and converts it into a mat2 matrix. Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
@@ -97,3 +97,9 @@ float
|
||||
glmc_mat2_rmc(vec2 r, mat2 m, vec2 c) {
|
||||
return glm_mat2_rmc(r, m, c);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_mat2_make(float * __restrict src, mat2 dest) {
|
||||
glm_mat2_make(src, dest);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user