[gtk/wip/baedert/for-master: 63/89] 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: 63/89] GskTransform: Remove useless fmod check
- Date: Thu, 6 Feb 2020 15:45:14 +0000 (UTC)
commit 000357ac2f3cceaef5ec9201bbe4204e6f4bf4d9
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]