summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-06-08 17:58:28 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-06-08 18:04:43 +0200
commitbc244e7a18e4538c8120fd909a9db54b03fcb914 (patch)
treed373a041a15497cd24bfbdfa83bc302cc78235de /src/lib/eina
parent555c664ed2f7571ed9ed76712b40e4548cbdef6d (diff)
eina: fix copy and paster error detected by Coverity.
CID 1302701
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_quaternion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_quaternion.c b/src/lib/eina/eina_quaternion.c
index dbf68be903..2ef0edec01 100644
--- a/src/lib/eina/eina_quaternion.c
+++ b/src/lib/eina/eina_quaternion.c
@@ -82,7 +82,7 @@ eina_quaternion_f16p16_mul(Eina_Quaternion_F16p16 *out,
82 out->z = eina_f16p16_add(eina_f16p16_add(eina_f16p16_mul(a->w, b->z), 82 out->z = eina_f16p16_add(eina_f16p16_add(eina_f16p16_mul(a->w, b->z),
83 eina_f16p16_mul(a->x, b->y)), 83 eina_f16p16_mul(a->x, b->y)),
84 eina_f16p16_sub(eina_f16p16_mul(a->z, b->w), 84 eina_f16p16_sub(eina_f16p16_mul(a->z, b->w),
85 eina_f16p16_mul(a->y, b->y))); 85 eina_f16p16_mul(a->y, b->x)));
86} 86}
87 87
88EAPI void 88EAPI void
@@ -377,7 +377,7 @@ eina_quaternion_mul(Eina_Quaternion *out,
377 out->w = a->w * b->w - a->x * b->x - a->y * b->y - a->z * b->z; 377 out->w = a->w * b->w - a->x * b->x - a->y * b->y - a->z * b->z;
378 out->x = a->w * b->x + a->x * b->w + a->y * b->z - a->z * b->y; 378 out->x = a->w * b->x + a->x * b->w + a->y * b->z - a->z * b->y;
379 out->y = a->w * b->y - a->x * b->z + a->y * b->w + a->z * b->x; 379 out->y = a->w * b->y - a->x * b->z + a->y * b->w + a->z * b->x;
380 out->z = a->w * b->z + a->x * b->y - a->y * b->y + a->z * b->w; 380 out->z = a->w * b->z + a->x * b->y - a->y * b->x + a->z * b->w;
381} 381}
382 382
383EAPI void 383EAPI void