switch(depth) {
case 32:
- ret = 0xff000000;
case 24:
#ifdef HAVE_COCOA
/* This program idiotically does not go through a color map, so
cr->y += ((float) STEP * sin(cr->t * M_PI/180));
}
else {
- float oldx, oldy;
-
- oldx = cr->x;
- oldy = cr->y;
-
cr->x += ((float) cr->ys * cos(cr->t * M_PI/180));
cr->y += ((float) cr->ys * sin(cr->t * M_PI/180));
cr->x += ((float) cr->xs * cos(cr->t * M_PI/180 - M_PI / 2));
- cr->x += ((float) cr->xs * sin(cr->t * M_PI/180 - M_PI / 2));
+ cr->y += ((float) cr->xs * sin(cr->t * M_PI/180 - M_PI / 2));
cr->t += cr->t_inc;
cr->degrees_drawn += abs(cr->t_inc);