identiy helper for arrays (matrix/quaternion)

this helpers makes all array elements identity
This commit is contained in:
Recep Aslantas
2018-09-12 12:44:11 +03:00
parent 2e1790ccf9
commit 98da3daf82
16 changed files with 122 additions and 7 deletions

View File

@@ -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