mirror of
https://github.com/recp/cglm.git
synced 2026-01-02 13:49:59 +00:00
identiy helper for arrays (matrix/quaternion)
this helpers makes all array elements identity
This commit is contained in:
@@ -25,6 +25,7 @@ Functions:
|
||||
1. :c:func:`glm_mat4_ucopy`
|
||||
#. :c:func:`glm_mat4_copy`
|
||||
#. :c:func:`glm_mat4_identity`
|
||||
#. :c:func:`glm_mat4_identity_array`
|
||||
#. :c:func:`glm_mat4_pick3`
|
||||
#. :c:func:`glm_mat4_pick3t`
|
||||
#. :c:func:`glm_mat4_ins3`
|
||||
@@ -69,6 +70,14 @@ Functions documentation
|
||||
Parameters:
|
||||
| *[out]* **mat** matrix
|
||||
|
||||
.. c:function:: void glm_mat4_identity_array(mat4 * __restrict mat, size_t count)
|
||||
|
||||
make given matrix array's each element identity matrix
|
||||
|
||||
Parameters:
|
||||
| *[in,out]* **mat** matrix array (must be aligned (16/32) if alignment is not disabled)
|
||||
| *[in]* **count** count of matrices
|
||||
|
||||
.. c:function:: void glm_mat4_pick3(mat4 mat, mat3 dest)
|
||||
|
||||
copy upper-left of mat4 to mat3
|
||||
|
||||
Reference in New Issue
Block a user