mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 08:41:55 +00:00
@@ -76,7 +76,7 @@ glms_vec2_(eq_eps)(vec2s v, float val) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief check if vectors members are equal (without epsilon)
|
||||
* @brief check if vector members are equal (without epsilon)
|
||||
*
|
||||
* @param[in] v vector
|
||||
*/
|
||||
|
@@ -258,11 +258,11 @@ glms_vec2_(subs)(vec2s a, float s) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief multiply two vector (component-wise multiplication)
|
||||
* @brief multiply two vectors (component-wise multiplication)
|
||||
*
|
||||
* @param a vector1
|
||||
* @param b vector2
|
||||
* @returns v3 = (a[0] * b[0], a[1] * b[1], a[2] * b[2])
|
||||
* @returns result = (a[0] * b[0], a[1] * b[1])
|
||||
*/
|
||||
CGLM_INLINE
|
||||
vec2s
|
||||
@@ -307,7 +307,7 @@ glms_vec2_(scale_as)(vec2s v, float s) {
|
||||
*
|
||||
* @param[in] a vector 1
|
||||
* @param[in] b vector 2
|
||||
* @returns result = (a[0]/b[0], a[1]/b[1], a[2]/b[2])
|
||||
* @returns result = (a[0]/b[0], a[1]/b[1])
|
||||
*/
|
||||
CGLM_INLINE
|
||||
vec2s
|
||||
@@ -322,7 +322,7 @@ glms_vec2_(div)(vec2s a, vec2s b) {
|
||||
*
|
||||
* @param[in] a vector
|
||||
* @param[in] s scalar
|
||||
* @returns result = (a[0]/s, a[1]/s, a[2]/s)
|
||||
* @returns result = (a[0]/s, a[1]/s)
|
||||
*/
|
||||
CGLM_INLINE
|
||||
vec2s
|
||||
@@ -397,7 +397,7 @@ glms_vec2_(muladds)(vec2s a, float s, vec2s dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add max of two vector to result/dest
|
||||
* @brief add max of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
@@ -413,7 +413,7 @@ glms_vec2_(maxadd)(vec2s a, vec2s b, vec2s dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add min of two vector to result/dest
|
||||
* @brief add min of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
|
@@ -94,7 +94,7 @@ glms_vec3_(eq_eps)(vec3s v, float val) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief check if vectors members are equal (without epsilon)
|
||||
* @brief check if vector members are equal (without epsilon)
|
||||
*
|
||||
* @param[in] v vector
|
||||
*/
|
||||
|
@@ -314,7 +314,7 @@ glms_vec3_(subs)(vec3s a, float s) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief multiply two vector (component-wise multiplication)
|
||||
* @brief multiply two vectors (component-wise multiplication)
|
||||
*
|
||||
* @param a vector1
|
||||
* @param b vector2
|
||||
@@ -453,7 +453,7 @@ glms_vec3_(muladds)(vec3s a, float s, vec3s dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add max of two vector to result/dest
|
||||
* @brief add max of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
@@ -469,7 +469,7 @@ glms_vec3_(maxadd)(vec3s a, vec3s b, vec3s dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add min of two vector to result/dest
|
||||
* @brief add min of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
|
@@ -94,7 +94,7 @@ glms_vec4_(eq_eps)(vec4s v, float val) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief check if vectors members are equal (without epsilon)
|
||||
* @brief check if vector members are equal (without epsilon)
|
||||
*
|
||||
* @param v vector
|
||||
*/
|
||||
|
@@ -343,7 +343,7 @@ glms_vec4_(subs)(vec4s v, float s) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief multiply two vector (component-wise multiplication)
|
||||
* @brief multiply two vectors (component-wise multiplication)
|
||||
*
|
||||
* @param a vector1
|
||||
* @param b vector2
|
||||
@@ -482,7 +482,7 @@ glms_vec4_(muladds)(vec4s a, float s, vec4s dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add max of two vector to result/dest
|
||||
* @brief add max of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
@@ -498,7 +498,7 @@ glms_vec4_(maxadd)(vec4s a, vec4s b, vec4s dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add min of two vector to result/dest
|
||||
* @brief add min of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
|
@@ -70,7 +70,7 @@ glm_vec2_eq_eps(vec2 v, float val) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief check if vectors members are equal (without epsilon)
|
||||
* @brief check if vector members are equal (without epsilon)
|
||||
*
|
||||
* @param[in] v vector
|
||||
*/
|
||||
|
@@ -229,7 +229,7 @@ glm_vec2_subs(vec2 v, float s, vec2 dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief multiply two vector (component-wise multiplication)
|
||||
* @brief multiply two vectors (component-wise multiplication)
|
||||
*
|
||||
* @param a v1
|
||||
* @param b v2
|
||||
@@ -370,7 +370,7 @@ glm_vec2_muladds(vec2 a, float s, vec2 dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add max of two vector to result/dest
|
||||
* @brief add max of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
@@ -386,7 +386,7 @@ glm_vec2_maxadd(vec2 a, vec2 b, vec2 dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add min of two vector to result/dest
|
||||
* @brief add min of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
|
@@ -87,7 +87,7 @@ glm_vec3_eq_eps(vec3 v, float val) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief check if vectors members are equal (without epsilon)
|
||||
* @brief check if vector members are equal (without epsilon)
|
||||
*
|
||||
* @param[in] v vector
|
||||
*/
|
||||
|
@@ -320,7 +320,7 @@ glm_vec3_subs(vec3 v, float s, vec3 dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief multiply two vector (component-wise multiplication)
|
||||
* @brief multiply two vectors (component-wise multiplication)
|
||||
*
|
||||
* @param a vector1
|
||||
* @param b vector2
|
||||
@@ -469,7 +469,7 @@ glm_vec3_muladds(vec3 a, float s, vec3 dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add max of two vector to result/dest
|
||||
* @brief add max of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
@@ -486,7 +486,7 @@ glm_vec3_maxadd(vec3 a, vec3 b, vec3 dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add min of two vector to result/dest
|
||||
* @brief add min of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
|
@@ -103,7 +103,7 @@ glm_vec4_eq_eps(vec4 v, float val) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief check if vectors members are equal (without epsilon)
|
||||
* @brief check if vector members are equal (without epsilon)
|
||||
*
|
||||
* @param v vector
|
||||
*/
|
||||
|
@@ -418,7 +418,7 @@ glm_vec4_subs(vec4 v, float s, vec4 dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief multiply two vector (component-wise multiplication)
|
||||
* @brief multiply two vectors (component-wise multiplication)
|
||||
*
|
||||
* @param a vector1
|
||||
* @param b vector2
|
||||
@@ -634,7 +634,7 @@ glm_vec4_muladds(vec4 a, float s, vec4 dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add max of two vector to result/dest
|
||||
* @brief add max of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
@@ -666,7 +666,7 @@ glm_vec4_maxadd(vec4 a, vec4 b, vec4 dest) {
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief add min of two vector to result/dest
|
||||
* @brief add min of two vectors to result/dest
|
||||
*
|
||||
* it applies += operator so dest must be initialized
|
||||
*
|
||||
|
Reference in New Issue
Block a user