summaryrefslogtreecommitdiff
path: root/unsorted/elementary/evas3d_object_on_button_example.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
commitefe419f31c843ec955f29e0b196fc32b31fae733 (patch)
tree01cfe0cff57bf2f34f08b2b7c9e7d7426ad73bdf /unsorted/elementary/evas3d_object_on_button_example.c
parent9686393885de08c964c343f4865853b8451240f5 (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 'unsorted/elementary/evas3d_object_on_button_example.c')
-rw-r--r--unsorted/elementary/evas3d_object_on_button_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsorted/elementary/evas3d_object_on_button_example.c b/unsorted/elementary/evas3d_object_on_button_example.c
index 842cdfd..92c7a64 100644
--- a/unsorted/elementary/evas3d_object_on_button_example.c
+++ b/unsorted/elementary/evas3d_object_on_button_example.c
@@ -215,7 +215,7 @@ _mesh_setup(Scene_Data *data)
215 evas_canvas3d_mesh_frame_vertex_data_set(data->mesh, 0, EVAS_CANVAS3D_VERTEX_ATTRIB_TEXCOORD, 12 * sizeof(float), &cube_vertices[10]); 215 evas_canvas3d_mesh_frame_vertex_data_set(data->mesh, 0, EVAS_CANVAS3D_VERTEX_ATTRIB_TEXCOORD, 12 * sizeof(float), &cube_vertices[10]);
216 evas_canvas3d_mesh_index_data_set(data->mesh, EVAS_CANVAS3D_INDEX_FORMAT_UNSIGNED_SHORT, 36, &cube_indices[0]); 216 evas_canvas3d_mesh_index_data_set(data->mesh, EVAS_CANVAS3D_INDEX_FORMAT_UNSIGNED_SHORT, 36, &cube_indices[0]);
217 evas_canvas3d_mesh_vertex_assembly_set(data->mesh, EVAS_CANVAS3D_VERTEX_ASSEMBLY_TRIANGLES); 217 evas_canvas3d_mesh_vertex_assembly_set(data->mesh, EVAS_CANVAS3D_VERTEX_ASSEMBLY_TRIANGLES);
218 evas_canvas3d_mesh_shade_mode_set(data->mesh, EVAS_CANVAS3D_SHADE_MODE_PHONG); 218 evas_canvas3d_mesh_shader_mode_set(data->mesh, EVAS_CANVAS3D_SHADER_MODE_PHONG);
219 evas_canvas3d_mesh_frame_material_set(data->mesh, 0, data->material); 219 evas_canvas3d_mesh_frame_material_set(data->mesh, 0, data->material);
220 evas_canvas3d_mesh_color_pick_enable_set(data->mesh, EINA_TRUE); 220 evas_canvas3d_mesh_color_pick_enable_set(data->mesh, EINA_TRUE);
221 221