- xoffs = cos(t * 0.5f) * DEF_WIDTH * 2;
- yoffs = sin(t) * DEF_HEIGHT;
- zoom = (sin(t * 0.75f) * 0.5f + 1.0f) * 1024.0f;
+ xoffs = COS(time_msec >> 3) * fb_width >> 15;
+ yoffs = SIN(time_msec >> 2) * fb_height >> 16;
+ zoom = (SIN(time_msec >> 5) >> 1) + 65536;