summaryrefslogtreecommitdiff
path: root/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/sphere_hunter/evas_3d_sphere_hunter.c')
-rw-r--r--src/examples/sphere_hunter/evas_3d_sphere_hunter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/sphere_hunter/evas_3d_sphere_hunter.c b/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
index 895d4f1de..e823bc3e4 100644
--- a/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
+++ b/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
@@ -431,7 +431,7 @@ _key_down(void *data,
431 if (camera_y < 100.0) 431 if (camera_y < 100.0)
432 { 432 {
433 camera_y += 0.5; 433 camera_y += 0.5;
434 camera_z += 0.5 * (7 / 4); 434 camera_z += 0.5 * (7 / (double)4);
435 } 435 }
436 } 436 }
437 if (!strcmp(ev->key, "n")) 437 if (!strcmp(ev->key, "n"))
@@ -598,7 +598,7 @@ _create_cubes(Scene_Data *data, Evas_Real r, int count)
598 Evas_Real d_alpha; 598 Evas_Real d_alpha;
599 599
600 data->items = NULL; 600 data->items = NULL;
601 d_alpha = 360 / count; 601 d_alpha = 360 / (double)count;
602 602
603 for (i = 0; i < count; i++) 603 for (i = 0; i < count; i++)
604 { 604 {