mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
docs: add missing non-square matrix funcs
Functions include: * glm_mat#x#_copy * glm_mat#x#_zero * glm_mat#x#_mul * glm_mat#x#_mulv * glm_mat#x#_transpose * glm_mat#x#_scale Commit also includes some minor changes to * mat2 * mat3 * mat4 Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
@@ -119,6 +119,7 @@ Functions documentation
|
||||
.. c:function:: void glm_mat4_mul(mat4 m1, mat4 m2, mat4 dest)
|
||||
|
||||
multiply m1 and m2 to dest
|
||||
|
||||
m1, m2 and dest matrices can be same matrix, it is possible to write this:
|
||||
|
||||
.. code-block:: c
|
||||
@@ -157,7 +158,6 @@ Functions documentation
|
||||
Parameters:
|
||||
| *[in]* **m** mat4 (left)
|
||||
| *[in]* **v** vec4 (right, column vector)
|
||||
| *[in]* **last** 4th item to make it vec4
|
||||
| *[out]* **dest** vec4 (result, column vector)
|
||||
|
||||
.. c:function:: void glm_mat4_mulv3(mat4 m, vec3 v, float last, vec3 dest)
|
||||
|
||||
Reference in New Issue
Block a user