aboutsummaryrefslogtreecommitdiffstats
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
parentepp: fix annotate. (diff)
downloadefl-04cf807b5f1df35b24953ff62bc339c6e690c9d4.tar.gz
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 @@
* Press "n" for use normal mapping shading. Pres "p" for use parallax occlusion mapping shading.
*
* @verbatim
- * 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
+ * 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
* @endverbatim
*/
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)
NORMAL_SET(column, column[index], red_brick_n_path)
eo_do(data->mesh_node_column[index],
- evas_3d_node_scale_set(2.2, 19.0, 2.2),
- evas_3d_node_position_set(10 , 0, -45 + 21.25 * index));
+ evas_3d_node_scale_set(2.2, 2.2, 19.0),
+ evas_3d_node_position_set(10 , 0, -45 + 21.25 * index),
+ evas_3d_node_orientation_angle_axis_set(90, 1.0, 0.0, 0.0));
}
void