mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +00:00
add new matrix mat4x2
Initial function being glm_mat4x2_make Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
@@ -52,6 +52,7 @@ Follow the :doc:`build` documentation for this
|
||||
mat3x2
|
||||
mat3x4
|
||||
mat4
|
||||
mat4x2
|
||||
vec2
|
||||
vec2-ext
|
||||
vec3
|
||||
|
30
docs/source/mat4x2.rst
Normal file
30
docs/source/mat4x2.rst
Normal file
@@ -0,0 +1,30 @@
|
||||
.. default-domain:: C
|
||||
|
||||
mat4x2
|
||||
======
|
||||
|
||||
Header: cglm/mat4x2.h
|
||||
|
||||
Table of contents (click to go):
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Macros:
|
||||
|
||||
1. GLM_MAT4X2_ZERO_INIT
|
||||
#. GLM_MAT4X2_ZERO
|
||||
|
||||
Functions:
|
||||
|
||||
1. :c:func:`glm_mat4x2_make`
|
||||
|
||||
Functions documentation
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. c:function:: void glm_mat4x2_make(float * __restrict src, mat4x2 dest)
|
||||
|
||||
Create mat4x2 matrix from pointer
|
||||
|
||||
| NOTE: **@src** must contain at least 8 elements.
|
||||
Parameters:
|
||||
| *[in]* **src** pointer to an array of floats
|
||||
| *[out]* **dest** destination matrix4x2
|
Reference in New Issue
Block a user