mirror of
https://github.com/recp/cglm.git
synced 2026-01-03 22:22:11 +00:00
identiy helper for arrays (matrix/quaternion)
this helpers makes all array elements identity
This commit is contained in:
@@ -27,6 +27,7 @@ Macros:
|
||||
Functions:
|
||||
|
||||
1. :c:func:`glm_quat_identity`
|
||||
#. :c:func:`glm_quat_identity_array`
|
||||
#. :c:func:`glm_quat_init`
|
||||
#. :c:func:`glm_quat`
|
||||
#. :c:func:`glm_quatv`
|
||||
@@ -70,6 +71,14 @@ Functions documentation
|
||||
Parameters:
|
||||
| *[in, out]* **q** quaternion
|
||||
|
||||
.. c:function:: void glm_quat_identity_array(versor * __restrict q, size_t count)
|
||||
|
||||
| make given quaternion array's each element identity quaternion
|
||||
|
||||
Parameters:
|
||||
| *[in, out]* **q** quat array (must be aligned (16) if alignment is not disabled)
|
||||
| *[in]* **count** count of quaternions
|
||||
|
||||
.. c:function:: void glm_quat_init(versor q, float x, float y, float z, float w)
|
||||
|
||||
| inits quaternion with given values
|
||||
|
||||
Reference in New Issue
Block a user