mirror of
https://github.com/recp/cglm.git
synced 2026-11-17 18:17:13 -06:00
vec: rename glm_vec_ to glm_vec3_ (continue)
* add missing functions to vec4 * update docs
This commit is contained in:
1 parent
0b8c63a90e
commit
b4bf8f3537
18 files changed
+214
-221
No files matched your search
+2
-2
@@ -5,14 +5,14 @@ Some functions may exist twice,
|
||||
once for their namespace and once for global namespace
|
||||
to make easier to write very common functions
|
||||
|
||||
For instance, in general we use :code:`glm_vec_dot` to get dot product
|
||||
For instance, in general we use :code:`glm_vec3_dot` to get dot product
|
||||
of two **vec3**. Now we can also do this with :code:`glm_dot`,
|
||||
same for *_cross* and so on...
|
||||
|
||||
The original function stays where it is, the function in global namespace
|
||||
of same name is just an alias, so there is no call version of those functions.
|
||||
e.g there is no func like :code:`glmc_dot` because *glm_dot* is just alias for
|
||||
:code:`glm_vec_dot`
|
||||
:code:`glm_vec3_dot`
|
||||
|
||||
By including **cglm/cglm.h** header you will include all inline version
|
||||
of functions. Since functions in this header[s] are inline you don't need to
|
||||
|
||||
Reference in new issue
Block a user