aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-08-22 19:50:58 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-08-22 19:52:57 +0200
commitb6d2dc2cdf7103142936373eb85f991e6cba6762 (patch)
tree1c207a3dcfe8ce8285665a0f92aa8c1208778c96
parentethum: fix compilation on Windows due to missing visibility setting. (diff)
downloadefl-b6d2dc2cdf7103142936373eb85f991e6cba6762.tar.gz
eina: fix coverity issue CID 1317154.
-rw-r--r--src/lib/eina/eina_quaternion.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eina/eina_quaternion.c b/src/lib/eina/eina_quaternion.c
index 55105bee2f..3c268457ea 100644
--- a/src/lib/eina/eina_quaternion.c
+++ b/src/lib/eina/eina_quaternion.c
@@ -808,10 +808,10 @@ eina_matrix4_quaternion_to(Eina_Quaternion *rotation,
eina_point3d_cross(&cross, &row1, &row2);
if (eina_point_3d_dot(&row0, &cross) < 0)
{
- eina_point_3d_dot(scale, scale);
- eina_point_3d_dot(&row0, &row0);
- eina_point_3d_dot(&row1, &row1);
- eina_point_3d_dot(&row2, &row2);
+ eina_point3d_neg(scale, scale);
+ eina_point3d_neg(&row0, &row0);
+ eina_point3d_neg(&row1, &row1);
+ eina_point3d_neg(&row2, &row2);
}
if (rotation)