mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +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:
@@ -426,7 +426,7 @@ Functions documentation
|
||||
|
||||
Create quaternion from pointer
|
||||
|
||||
| NOTE: **@src** must contain 4 elements. cglm store quaternions as [x, y, z, w].
|
||||
| NOTE: **@src** must contain at least 4 elements. cglm store quaternions as [x, y, z, w].
|
||||
|
||||
Parameters:
|
||||
| *[in]* **src** pointer to an array of floats
|
||||
|
Reference in New Issue
Block a user