summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-3d-aabb.c
diff options
context:
space:
mode:
authorOleksandr Shcherbina <o.shcherbina@samsung.com>2016-04-14 20:28:20 +0900
committerHermet Park <hermet@hermet.pe.kr>2016-04-14 20:28:20 +0900
commit172cfa0f0496f95cc78752c0c498a87711347df3 (patch)
tree40cb2a2c81823ec4a1bdfe93f32db827b213f122 /src/examples/evas/evas-3d-aabb.c
parent35941c4ad18b4a320b56e2c6596132a7eca0d482 (diff)
evas.canvas3d: Change shade_mode to shader_mode
Summary: enum Evas.Canvas3D.Shade_Mode are using for choose relevant shader source code. So renaming have a sence. Rename evas_canvas3d_shade_mode_set/get property to evas_canvas3d_shader_mode_set/get Rename internal fields and functions Reviewers: cedric, Hermet, raster Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3882
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 0ee6dbb..d1dbcb6 100644
--- a/src/examples/evas/evas-3d-aabb.c
+++ b/src/examples/evas/evas-3d-aabb.c
@@ -173,7 +173,7 @@ main(void)
173 173
174 efl_file_set(mesh, model_path, NULL); 174 efl_file_set(mesh, model_path, NULL);
175 evas_canvas3d_mesh_frame_material_set(mesh, 0, material); 175 evas_canvas3d_mesh_frame_material_set(mesh, 0, material);
176 evas_canvas3d_mesh_shade_mode_set(mesh, EVAS_CANVAS3D_SHADE_MODE_PHONG); 176 evas_canvas3d_mesh_shader_mode_set(mesh, EVAS_CANVAS3D_SHADER_MODE_PHONG);
177 177
178 texture = eo_add(EVAS_CANVAS3D_TEXTURE_CLASS, evas); 178 texture = eo_add(EVAS_CANVAS3D_TEXTURE_CLASS, evas);
179 evas_canvas3d_texture_file_set(texture, image_path, NULL); 179 evas_canvas3d_texture_file_set(texture, image_path, NULL);
@@ -201,7 +201,7 @@ main(void)
201 mesh_box = eo_add(EVAS_CANVAS3D_MESH_CLASS, evas); 201 mesh_box = eo_add(EVAS_CANVAS3D_MESH_CLASS, evas);
202 evas_canvas3d_mesh_from_primitive_set(mesh_box, 0, cube); 202 evas_canvas3d_mesh_from_primitive_set(mesh_box, 0, cube);
203 evas_canvas3d_mesh_vertex_assembly_set(mesh_box, EVAS_CANVAS3D_VERTEX_ASSEMBLY_LINES); 203 evas_canvas3d_mesh_vertex_assembly_set(mesh_box, EVAS_CANVAS3D_VERTEX_ASSEMBLY_LINES);
204 evas_canvas3d_mesh_shade_mode_set(mesh_box, EVAS_CANVAS3D_SHADE_MODE_VERTEX_COLOR); 204 evas_canvas3d_mesh_shader_mode_set(mesh_box, EVAS_CANVAS3D_SHADER_MODE_VERTEX_COLOR);
205 evas_canvas3d_mesh_frame_material_set(mesh_box, 0, material_box); 205 evas_canvas3d_mesh_frame_material_set(mesh_box, 0, material_box);
206 _redraw_aabb(); 206 _redraw_aabb();
207 207