add new matrix mat2x3

Initial function being

glm_mat2x3_make

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
Vincent Davis Jr
2023-07-13 22:39:05 -04:00
parent 3b683cf28c
commit 6317ed90e7
24 changed files with 284 additions and 4 deletions

View File

@@ -46,6 +46,7 @@ Follow the :doc:`build` documentation for this
quat
euler
mat2
mat2x3
mat3
mat4
vec2

31
docs/source/mat2x3.rst Normal file
View File

@@ -0,0 +1,31 @@
.. default-domain:: C
mat2x3
======
Header: cglm/mat2x3.h
Table of contents (click to go):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Macros:
1. GLM_MAT2X3_ZERO_INIT
#. GLM_MAT2x3_ZERO
Functions:
1. :c:func:`glm_mat2x3_make`
Functions documentation
~~~~~~~~~~~~~~~~~~~~~~~
.. c:function:: void glm_mat2x3_make(float * __restrict src, mat2x3 dest)
Create mat2x3 matrix from pointer
| NOTE: **@src** must contain at least 6 elements.
Parameters:
| *[in]* **src** pointer to an array of floats
| *[out]* **dest** destination matrix2x3