mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 17:09:40 +00:00
vec4-ext docs
This commit is contained in:
@@ -23,6 +23,15 @@ Functions:
|
|||||||
#. :c:func:`glm_vec4_eqv_eps`
|
#. :c:func:`glm_vec4_eqv_eps`
|
||||||
#. :c:func:`glm_vec4_max`
|
#. :c:func:`glm_vec4_max`
|
||||||
#. :c:func:`glm_vec4_min`
|
#. :c:func:`glm_vec4_min`
|
||||||
|
#. :c:func:`glm_vec4_isnan`
|
||||||
|
#. :c:func:`glm_vec4_isinf`
|
||||||
|
#. :c:func:`glm_vec4_isvalid`
|
||||||
|
#. :c:func:`glm_vec4_sign`
|
||||||
|
#. :c:func:`glm_vec4_abs`
|
||||||
|
#. :c:func:`glm_vec4_fract`
|
||||||
|
#. :c:func:`glm_vec4_floor`
|
||||||
|
#. :c:func:`glm_vec4_sqrt`
|
||||||
|
|
||||||
|
|
||||||
Functions documentation
|
Functions documentation
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@@ -129,6 +138,30 @@ Functions documentation
|
|||||||
| *[in]* **v** vector
|
| *[in]* **v** vector
|
||||||
| *[out]* **dest** sign vector (only keeps signs as -1, 0, -1)
|
| *[out]* **dest** sign vector (only keeps signs as -1, 0, -1)
|
||||||
|
|
||||||
|
.. c:function:: void glm_vec4_abs(vec4 v, vec4 dest)
|
||||||
|
|
||||||
|
absolute value of each vector item
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
| *[in]* **v** vector
|
||||||
|
| *[out]* **dest** destination vector (abs(v))
|
||||||
|
|
||||||
|
.. c:function:: void glm_vec4_fract(vec4 v, vec4 dest)
|
||||||
|
|
||||||
|
fractional part of each vector item
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
| *[in]* **v** vector
|
||||||
|
| *[out]* **dest** destination vector (fract(v))
|
||||||
|
|
||||||
|
.. c:function:: void glm_vec4_floor(vec4 v, vec4 dest)
|
||||||
|
|
||||||
|
floor of each vector item
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
| *[in]* **v** vector
|
||||||
|
| *[out]* **dest** destination vector (floor(v))
|
||||||
|
|
||||||
.. c:function:: void glm_vec4_sqrt(vec4 v, vec4 dest)
|
.. c:function:: void glm_vec4_sqrt(vec4 v, vec4 dest)
|
||||||
|
|
||||||
square root of each vector item
|
square root of each vector item
|
||||||
|
Reference in New Issue
Block a user