Fix docs for glm_vec2()

The prototype takes a float *, which can be vec3 or vec4.
This commit is contained in:
Simon Ser
2020-10-16 22:30:26 +02:00
parent d920a62be2
commit 7dccbef6e3

View File

@@ -55,12 +55,12 @@ Functions:
Functions documentation
~~~~~~~~~~~~~~~~~~~~~~~
.. c:function:: void glm_vec2(vec4 v4, vec2 dest)
.. c:function:: void glm_vec2(float \*v, vec2 dest)
init vec2 using vec3
init vec2 using vec3 or vec4
Parameters:
| *[in]* **v3** vector3
| *[in]* **v** vector
| *[out]* **dest** destination
.. c:function:: void glm_vec2_copy(vec2 a, vec2 dest)