example/evas: update evas vg example.
authorSubhransu Mohanty <sub.mohanty@samsung.com>
Tue, 26 Jul 2016 02:33:10 +0000 (11:33 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 26 Jul 2016 05:19:59 +0000 (14:19 +0900)
Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4189

src/examples/evas/evas-vg-batman.c

index f17636d..9d7892e 100644 (file)
@@ -79,9 +79,9 @@ _animator(void *data EINA_UNUSED, double pos)
 {
    int next = (animation_position + 1) % (sizeof (batmans_path) / sizeof (batmans_path[0]));
 
-   evas_vg_shape_shape_interpolate(batman,
-                                   batmans_vg[next],    
+   evas_vg_shape_shape_interpolate(batman,   
                                    batmans_vg[animation_position],
+                                   batmans_vg[next],
                                    ecore_animator_pos_map(pos, ECORE_POS_MAP_SINUSOIDAL, 0.0, 0.0));
 
    if (pos == 1.0)