mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +00:00
mat3: add new function glm_mat3_make
Function takes in a 9 element float array and converts it into a mat3 matrix. Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
@@ -34,6 +34,7 @@ Functions:
|
||||
#. :c:func:`glm_mat3_swap_col`
|
||||
#. :c:func:`glm_mat3_swap_row`
|
||||
#. :c:func:`glm_mat3_rmc`
|
||||
#. :c:func:`glm_mat3_make`
|
||||
|
||||
Functions documentation
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -187,3 +188,13 @@ Functions documentation
|
||||
|
||||
Returns:
|
||||
scalar value e.g. Matrix1x1
|
||||
|
||||
.. c:function:: void glm_mat3_make(float * __restrict src, mat3 dest)
|
||||
|
||||
Create mat3 matrix from pointer
|
||||
|
||||
| NOTE: **@src** must contain 9 elements.
|
||||
|
||||
Parameters:
|
||||
| *[in]* **src** pointer to an array of floats
|
||||
| *[out]* **dest** destination matrix3x3
|
||||
|
Reference in New Issue
Block a user