Wrong type of rotation, this fixed it.

Code:
void rotatesp(JSGEfloat angle, JSGEfloat* X, JSGEfloat* Y)
{
        float   ra;
        ra = (angle/360) * (2*M_PI);

        float normalx=*X;
        float normaly=*Y;
        *X = normalx * cos(ra) - normaly * sin(ra);
        *Y = normalx * sin(ra) + normaly * cos(ra);
}
This forum section seems empty, maybe I posted this in the wrong place?