summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-3d-aabb.c
diff options
context:
space:
mode:
authorBogdan Devichev <b.devichev@samsung.com>2014-12-22 16:16:19 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-12-23 21:20:21 +0100
commitc471665ac84b159d3cd4587380fae6ac78c33c3b (patch)
tree110c4eae1da7bd238b9f5c11bdabd13300d3caee /src/examples/evas/evas-3d-aabb.c
parentce36f8f5ad1e516d077ea935adf09c74c6ba403f (diff)
evas: make Evas 3d mesh is inherited from Efl.File (functions file_set and save)
Diffstat (limited to 'src/examples/evas/evas-3d-aabb.c')
-rw-r--r--src/examples/evas/evas-3d-aabb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/evas/evas-3d-aabb.c b/src/examples/evas/evas-3d-aabb.c
index 6210fa2..7fd8d98 100644
--- a/src/examples/evas/evas-3d-aabb.c
+++ b/src/examples/evas/evas-3d-aabb.c
@@ -3,7 +3,7 @@
3 3
4 * @see _mesh_aabb(Evas_3D_Mesh **mesh_b, const Evas_3D_Node *node); 4 * @see _mesh_aabb(Evas_3D_Mesh **mesh_b, const Evas_3D_Node *node);
5 * Rotate axises (keys 1-4) for model and bounding box view from another angle. 5 * Rotate axises (keys 1-4) for model and bounding box view from another angle.
6 * Compile with "gcc -o evas-3d-aabb evas-3d-aabb.c `pkg-config --libs --cflags evas ecore ecore-evas eo`" 6 * Compile with "gcc -o evas-3d-aabb evas-3d-aabb.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`"
7 */ 7 */
8 8
9#define EFL_EO_API_SUPPORT 9#define EFL_EO_API_SUPPORT
@@ -227,7 +227,7 @@ main(void)
227 material = eo_add(EVAS_3D_MATERIAL_CLASS, evas); 227 material = eo_add(EVAS_3D_MATERIAL_CLASS, evas);
228 228
229 eo_do(mesh, 229 eo_do(mesh,
230 evas_3d_mesh_file_set("sonic.md2", NULL), 230 efl_file_set("sonic.md2", NULL),
231 evas_3d_mesh_frame_material_set(0, material), 231 evas_3d_mesh_frame_material_set(0, material),
232 evas_3d_mesh_shade_mode_set(EVAS_3D_SHADE_MODE_PHONG)); 232 evas_3d_mesh_shade_mode_set(EVAS_3D_SHADE_MODE_PHONG));
233 233