summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_3d_utils.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-11-30 09:15:53 -0500
committerChris Michael <cp.michael@samsung.com>2015-11-30 09:15:53 -0500
commit886c20a43b75256f7895328af2edf40c284f0b4f (patch)
tree2a973aa026083ad9aff519f6221ff9105110e64a /src/lib/evas/include/evas_3d_utils.h
parent0a44c3f78b0950d8363465bb0d487ea17ee043b7 (diff)
evas-3d: Fix missing field initializers
Clang spits warnings here about missing field initializers for Evas_Vec3 (missing y and z fields), so we will explicitly initialize them to 0 (matching the x field). @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/evas/include/evas_3d_utils.h')
-rw-r--r--src/lib/evas/include/evas_3d_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/include/evas_3d_utils.h b/src/lib/evas/include/evas_3d_utils.h
index c29f24f928..10192cc7c0 100644
--- a/src/lib/evas/include/evas_3d_utils.h
+++ b/src/lib/evas/include/evas_3d_utils.h
@@ -1578,7 +1578,7 @@ convex_hull_vertex_set(Evas_Triangle3 *el, unsigned short int *vertex_count, flo
1578 unsigned short int **index, unsigned int k, int *leader, int coord) 1578 unsigned short int **index, unsigned int k, int *leader, int coord)
1579{ 1579{
1580 int color_coords, normal_coords; 1580 int color_coords, normal_coords;
1581 Evas_Vec3 vect = {0}; 1581 Evas_Vec3 vect = {0, 0, 0};
1582 switch (coord) 1582 switch (coord)
1583 { 1583 {
1584 case 0: 1584 case 0: