mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +00:00
add new matrix mat2x3
Initial function being glm_mat2x3_make Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
@@ -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
31
docs/source/mat2x3.rst
Normal 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
|
Reference in New Issue
Block a user