mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +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
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. 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)
|
||||
|
Reference in New Issue
Block a user