mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +00:00
test_quat: add more robust quat_make test
Makes it so that it's easier to identify the potential usecase of function. Commit also includes a fix to the struct/quat.h glms_quat_make comment. Should be returning versors it's not a void function. Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
CGLM_INLINE mat4s glms_quat_rotate(mat4s m, versors q)
|
||||
CGLM_INLINE mat4s glms_quat_rotate_at(mat4s m, versors q, vec3s pivot)
|
||||
CGLM_INLINE mat4s glms_quat_rotate_atm(versors q, vec3s pivot)
|
||||
CGLM_INLINE void glms_quat_make(float * restrict src)
|
||||
CGLM_INLINE versors glms_quat_make(float * restrict src)
|
||||
*/
|
||||
|
||||
#ifndef cglms_quat_h
|
||||
|
Reference in New Issue
Block a user