So I have asked this before and I got it working correctly on mac. But now that I have put this on my windows machine I am having some issues. What I am trying to do is have the bullet move in the angle it is set to.
int radion = laserList[i].getRotation() * 3.14159265 / 180;
float movementX = cos(radion) * 30.0f;
float movementY = sin(radion) * 30.0f;
laserList[i].move(movementX, movementY);
As my angle is straight up at 0 degree it moves the bullets directly to the right. If I have the sprite facing down (180 degree) the bullets shoot directly to the left.
Doesn't seem to make much sense.