mirror of
https://github.com/recp/cglm.git
synced 2025-12-31 20:56:07 +00:00
Forgot return type
This commit is contained in:
@@ -197,6 +197,7 @@ glm_vec2_sqrt(vec2 v, vec2 dest) {
|
||||
* @param[out] dest destination number
|
||||
*/
|
||||
CGLM_INLINE
|
||||
void
|
||||
glm_vec2_complex_mul(vec2 a, vec2 b, vec2 dest) {
|
||||
float tr, ti;
|
||||
tr = a[0] * b[0] - a[1] * b[1];
|
||||
@@ -213,6 +214,7 @@ glm_vec2_complex_mul(vec2 a, vec2 b, vec2 dest) {
|
||||
* @param[out] dest destination number
|
||||
*/
|
||||
CGLM_INLINE
|
||||
void
|
||||
glm_vec2_complex_div(vec2 a, vec2 b, vec2 dest) {
|
||||
float tr, ti;
|
||||
float const ibnorm2 = 1.0f / (b[0] * b[0] + b[1] * b[1]);
|
||||
@@ -229,6 +231,7 @@ glm_vec2_complex_div(vec2 a, vec2 b, vec2 dest) {
|
||||
* @param[out] dest destination number
|
||||
*/
|
||||
CGLM_INLINE
|
||||
void
|
||||
glm_vec2_complex_conjugate(vec2 a, vec2 dest) {
|
||||
dest[0] = a[0]
|
||||
dest[1] = -a[1];
|
||||
|
||||
Reference in New Issue
Block a user