summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorse.osadchy <se.osadchy@samsung.com>2015-04-16 18:45:25 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-16 19:21:45 +0200
commit04cf807b5f1df35b24953ff62bc339c6e690c9d4 (patch)
treefd48cb9d7b1d69085783651683258a6bd459cc61
parent863ed65a0fcf85b996f5baa5a38050217b9eae04 (diff)
evas: fix bug in Evas_3D examples.
Summary: Fix evas-3d-shooter and evas-3d-parallax-occlusion. Reviewers: cedric, raster, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2365 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/examples/evas/evas-3d-parallax-occlusion.c2
-rw-r--r--src/examples/evas/shooter/evas-3d-shooter.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/examples/evas/evas-3d-parallax-occlusion.c b/src/examples/evas/evas-3d-parallax-occlusion.c
index 76640cda2c..ec44e24b2c 100644
--- a/src/examples/evas/evas-3d-parallax-occlusion.c
+++ b/src/examples/evas/evas-3d-parallax-occlusion.c
@@ -4,7 +4,7 @@
4 * Press "n" for use normal mapping shading. Pres "p" for use parallax occlusion mapping shading. 4 * Press "n" for use normal mapping shading. Pres "p" for use parallax occlusion mapping shading.
5 * 5 *
6 * @verbatim 6 * @verbatim
7 * gcc -o evas-3d-parallax-occlusion evas-3d-parallax-occlusion.c evas-3d-primitives.c `pkg-config --libs --cflags evas ecore ecore-evas eo`-lm 7 * gcc -o evas-3d-parallax-occlusion evas-3d-parallax-occlusion.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`-lm
8 * @endverbatim 8 * @endverbatim
9 */ 9 */
10 10
diff --git a/src/examples/evas/shooter/evas-3d-shooter.c b/src/examples/evas/shooter/evas-3d-shooter.c
index 8c4ca271f0..0ca334bfbf 100644
--- a/src/examples/evas/shooter/evas-3d-shooter.c
+++ b/src/examples/evas/shooter/evas-3d-shooter.c
@@ -1164,8 +1164,9 @@ _mesh_setup_column(Scene_Data *data, int index)
1164 NORMAL_SET(column, column[index], red_brick_n_path) 1164 NORMAL_SET(column, column[index], red_brick_n_path)
1165 1165
1166 eo_do(data->mesh_node_column[index], 1166 eo_do(data->mesh_node_column[index],
1167 evas_3d_node_scale_set(2.2, 19.0, 2.2), 1167 evas_3d_node_scale_set(2.2, 2.2, 19.0),
1168 evas_3d_node_position_set(10 , 0, -45 + 21.25 * index)); 1168 evas_3d_node_position_set(10 , 0, -45 + 21.25 * index),
1169 evas_3d_node_orientation_angle_axis_set(90, 1.0, 0.0, 0.0));
1169} 1170}
1170 1171
1171void 1172void