summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorIvan Furs <i.furs@samsung.com>2015-06-17 16:09:24 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-06-17 17:49:04 +0200
commite1daab2404eb4e3dc6c404a2d260cea9522e4112 (patch)
tree2451a7a5ff5efa2fed8757b0b293b73d3858be41 /src/examples
parent7d6b142ca744205e510efa5249efcaffce4520ef (diff)
evas_canvas3d: cube chaotic was not initialized and relied on luck to be zeroed by default.
Summary: Cube chaotic was rotated, because angle in structure of "SceneData" have random number. Reviewers: cedric, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2643 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-3d-cube-rotate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/examples/evas/evas-3d-cube-rotate.c b/src/examples/evas/evas-3d-cube-rotate.c
index 3eb63f6e1d..3b487d6ed8 100644
--- a/src/examples/evas/evas-3d-cube-rotate.c
+++ b/src/examples/evas/evas-3d-cube-rotate.c
@@ -258,6 +258,7 @@ main(void)
258 258
259 evas = ecore_evas_get(ecore_evas); 259 evas = ecore_evas_get(ecore_evas);
260 260
261 memset(&data, 0, sizeof(Scene_Data));
261 _scene_setup(&data); 262 _scene_setup(&data);
262 263
263 /* Add a background rectangle objects. */ 264 /* Add a background rectangle objects. */