Commits

Ondřej Surý  committed a1f36bc

Remove duplicate assignment in gdImageRotate45

  • Participants
  • Parent commits cc7587b

Comments (0)

Files changed (1)

File src/gd_rotate.c

 	int clrBackR, clrBackG, clrBackB, clrBackA;
 
 	/* See GEMS I for the algorithm details */
-	dRadAngle = dAngle * ROTATE_DEG2RAD; /* Angle in radians */
-	dSinE = sin (dRadAngle);
-	dTan = tan (dRadAngle / 2.0);
 
 	newx = (int)(src->sx + src->sy * fabs(dTan));
 	newy = src->sy;