forked from AuroraMiddleware/gtk
GskTransform: Remove useless fmod check
All angles are in the [0; 360[ range
This commit is contained in:
parent
cbb05a3eab
commit
8388791f87
@ -751,9 +751,6 @@ gsk_rotate_transform_apply_2d (GskTransform *transform,
|
||||
GskRotateTransform *self = (GskRotateTransform *) transform;
|
||||
float s, c, xx, xy, yx, yy;
|
||||
|
||||
if (fmodf (self->angle, 360.0f) == 0.0)
|
||||
return;
|
||||
|
||||
_sincos (self->angle, &s, &c);
|
||||
|
||||
xx = c * *out_xx + s * *out_xy;
|
||||
|
Loading…
Reference in New Issue
Block a user