mirror of
https://github.com/recp/cglm.git
synced 2026-01-03 14:12:11 +00: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 <vince@underview.tech>
This commit is contained in:
@@ -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