mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 04:22:36 +00:00
vec: update docs for norm
This commit is contained in:
@@ -158,7 +158,8 @@ Functions documentation
|
||||
|
||||
.. c:function:: float glm_vec3_norm(vec3 vec)
|
||||
|
||||
norm (magnitude) of vec3
|
||||
| euclidean norm (magnitude), also called L2 norm
|
||||
| this will give magnitude of vector in euclidean space
|
||||
|
||||
Parameters:
|
||||
| *[in]* **vec** vector
|
||||
|
||||
@@ -134,7 +134,8 @@ Functions documentation
|
||||
|
||||
.. c:function:: float glm_vec4_norm(vec4 vec)
|
||||
|
||||
norm (magnitude) of vec4
|
||||
| euclidean norm (magnitude), also called L2 norm
|
||||
| this will give magnitude of vector in euclidean space
|
||||
|
||||
Parameters:
|
||||
| *[in]* **vec** vector
|
||||
|
||||
@@ -200,7 +200,8 @@ glm_vec3_norm2(vec3 v) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief norm (magnitude) of vec3
|
||||
* @brief euclidean norm (magnitude), also called L2 norm
|
||||
* this will give magnitude of vector in euclidean space
|
||||
*
|
||||
* @param[in] v vector
|
||||
*
|
||||
|
||||
@@ -240,7 +240,8 @@ glm_vec4_norm2(vec4 v) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief norm (magnitude) of vec4
|
||||
* @brief euclidean norm (magnitude), also called L2 norm
|
||||
* this will give magnitude of vector in euclidean space
|
||||
*
|
||||
* @param[in] v vector
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user