summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_3d_utils.h
diff options
context:
space:
mode:
authorDmytro Dadyka <d.dadyka@samsung.com>2015-02-05 11:16:57 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-02-05 11:17:01 +0100
commitdad7df18b8e7c3cc2413e4fceec2f61d99ed012e (patch)
tree7cc027fa3cd4f110f203267266e9a52ee3e77747 /src/lib/evas/include/evas_3d_utils.h
parent63bdc07a1aa14ce649378bcdf2848a9b4a773e61 (diff)
evas: Evas_3D - fix bug with uninit Evas_Mat4 flag.
Reviewers: Hermet, raster, cedric @fix Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1930 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/evas/include/evas_3d_utils.h')
-rw-r--r--src/lib/evas/include/evas_3d_utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_3d_utils.h b/src/lib/evas/include/evas_3d_utils.h
index 139351d203..b6d52e9b17 100644
--- a/src/lib/evas/include/evas_3d_utils.h
+++ b/src/lib/evas/include/evas_3d_utils.h
@@ -1443,6 +1443,8 @@ evas_mat4_build(Evas_Mat4 *out,
1443 out->m[13] = position->y; 1443 out->m[13] = position->y;
1444 out->m[14] = position->z; 1444 out->m[14] = position->z;
1445 out->m[15] = 1.0; 1445 out->m[15] = 1.0;
1446
1447 out->flags = 0;
1446} 1448}
1447 1449
1448static inline void 1450static inline void
@@ -1488,6 +1490,8 @@ evas_mat4_inverse_build(Evas_Mat4 *out, const Evas_Vec3 *position,
1488 out->m[13] = inv_translate.y; 1490 out->m[13] = inv_translate.y;
1489 out->m[14] = inv_translate.z; 1491 out->m[14] = inv_translate.z;
1490 out->m[15] = 1.0; 1492 out->m[15] = 1.0;
1493
1494 out->flags = 0;
1491} 1495}
1492 1496
1493static inline void 1497static inline void