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>
This commit is contained in:
se.osadchy 2015-04-16 18:45:25 +02:00 committed by Cedric BAIL
parent 863ed65a0f
commit 04cf807b5f
2 changed files with 4 additions and 3 deletions

View File

@ -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
*/

View File

@ -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