add new matrix mat3x2

Initial function being

glm_mat3x2_make

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
Vincent Davis Jr
2023-07-15 18:48:50 -04:00
parent f817c4cbb0
commit 4e44e74d48
24 changed files with 302 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ Follow the :doc:`build` documentation for this
mat2x3
mat2x4
mat3
mat3x2
mat4
vec2
vec2-ext

30
docs/source/mat3x2.rst Normal file
View File

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