/* loop - do things */
static void _loop(double t, int f)
{
+ static int k = 0;
int i;
Evas_Coord x, y, w, h;
for (i = 0; i < OBNUM; i++)
w = 480;
h = 160;
x = (win_w / 2) - (w / 2);
- x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
+ x += sin((double)(f + ((i + k) * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
- y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
+ y += cos((double)(f + ((i + k) * 28)) / (43.8 * SLOW)) * (h / 2);
efl_gfx_entity_position_set(o_texts[i], EINA_POSITION2D(x, y));
i++;
efl_gfx_entity_position_set(o_texts[i], EINA_POSITION2D(x, y));
i++;
efl_gfx_entity_position_set(o_texts[i], EINA_POSITION2D(x, y + (h / 2)));
}
+ ++k;
FPS_STD(NAME);
}