[gtk/wip/baedert/for-master: 18/38] GskTransform: Remove useless fmod check
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 18/38] GskTransform: Remove useless fmod check
- Date: Thu, 6 Feb 2020 16:05:36 +0000 (UTC)
commit 4337c59f25f5389cde78bf43a8906d43c01105c9
Author: Timm Bäder <mail baedert org>
Date: Sun Feb 2 13:21:36 2020 +0100
GskTransform: Remove useless fmod check
All angles are in the [0; 360[ range
gsk/gsktransform.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gsk/gsktransform.c b/gsk/gsktransform.c
index f116b79acd..b474ec4114 100644
--- a/gsk/gsktransform.c
+++ b/gsk/gsktransform.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]