mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 09:08:53 +00:00
Fix docs for glm_vec2()
The prototype takes a float *, which can be vec3 or vec4.
This commit is contained in:
@@ -55,12 +55,12 @@ Functions:
|
|||||||
Functions documentation
|
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:
|
Parameters:
|
||||||
| *[in]* **v3** vector3
|
| *[in]* **v** vector
|
||||||
| *[out]* **dest** destination
|
| *[out]* **dest** destination
|
||||||
|
|
||||||
.. c:function:: void glm_vec2_copy(vec2 a, vec2 dest)
|
.. c:function:: void glm_vec2_copy(vec2 a, vec2 dest)
|
||||||
|
Reference in New Issue
Block a user