summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_3d_utils.h
diff options
context:
space:
mode:
authorDmytro Dadyka <d.dadyka@samsung.com>2015-02-17 15:33:05 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-02-17 15:39:48 +0100
commit1c74a1afe2d6353931ad4bab55a5ecbbd270b10a (patch)
tree1eb9a7d88e26dde429fecd7fdc6134138ed79e61 /src/lib/evas/include/evas_3d_utils.h
parent88932d3645ebcd5b52a3b133479f599006e5ab5b (diff)
evas: Evas_3D - refactor node shapes update mechanism.
Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1984 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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_3d_utils.h b/src/lib/evas/include/evas_3d_utils.h
index 0cf9f34928..6f7f477a77 100644
--- a/src/lib/evas/include/evas_3d_utils.h
+++ b/src/lib/evas/include/evas_3d_utils.h
@@ -1764,6 +1764,15 @@ evas_build_sphere(const Evas_Box3 *box, Evas_Sphere *sphere)
1764} 1764}
1765 1765
1766static inline void 1766static inline void
1767evas_sphere_empty_set(Evas_Sphere *dst)
1768{
1769 dst->radius = 0;
1770 dst->center.x = 0;
1771 dst->center.y = 0;
1772 dst->center.z = 0;
1773}
1774
1775static inline void
1767evas_plane_normalize(Evas_Vec4 *plane) 1776evas_plane_normalize(Evas_Vec4 *plane)
1768{ 1777{
1769 Evas_Vec3 tmp; 1778 Evas_Vec3 tmp;