forked from enlightenment/efl
example/evas: update evas vg example.
Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4189
This commit is contained in:
parent
0023f20d85
commit
f38dbd39f5
|
@ -79,9 +79,9 @@ _animator(void *data EINA_UNUSED, double pos)
|
||||||
{
|
{
|
||||||
int next = (animation_position + 1) % (sizeof (batmans_path) / sizeof (batmans_path[0]));
|
int next = (animation_position + 1) % (sizeof (batmans_path) / sizeof (batmans_path[0]));
|
||||||
|
|
||||||
evas_vg_shape_shape_interpolate(batman,
|
evas_vg_shape_shape_interpolate(batman,
|
||||||
batmans_vg[next],
|
|
||||||
batmans_vg[animation_position],
|
batmans_vg[animation_position],
|
||||||
|
batmans_vg[next],
|
||||||
ecore_animator_pos_map(pos, ECORE_POS_MAP_SINUSOIDAL, 0.0, 0.0));
|
ecore_animator_pos_map(pos, ECORE_POS_MAP_SINUSOIDAL, 0.0, 0.0));
|
||||||
|
|
||||||
if (pos == 1.0)
|
if (pos == 1.0)
|
||||||
|
|
Loading…
Reference in New Issue