mirror of
https://github.com/recp/cglm.git
synced 2026-11-17 18:17:13 -06:00
quat: add new function glm_quat_make
Function takes in a 4 element float array and converts it into a quaternion. Signed-off-by: Vincent Davis Jr <[email protected]>
This commit is contained in:
1 parent
6d39ef0026
commit
bfe5ea6ab7
7 files changed
+66
No files matched your search
@@ -229,3 +229,9 @@ void
|
||||
glmc_quat_rotate_atm(mat4 m, versor q, vec3 pivot) {
|
||||
glm_quat_rotate_atm(m, q, pivot);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_quat_make(float * __restrict src, versor dest) {
|
||||
glm_quat_make(src, dest);
|
||||
}
|
||||
Reference in new issue
Block a user