cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=04cf807b5f1df35b24953ff62bc339c6e690c9d4

commit 04cf807b5f1df35b24953ff62bc339c6e690c9d4
Author: se.osadchy <se.osad...@samsung.com>
Date:   Thu Apr 16 18:45:25 2015 +0200

    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 <ced...@osg.samsung.com>
---
 src/examples/evas/evas-3d-parallax-occlusion.c | 2 +-
 src/examples/evas/shooter/evas-3d-shooter.c    | 5 +++--
 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 76640cd..ec44e24 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 8c4ca27..0ca334b 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

-- 


Reply via email to