[gtk/wip/baedert/for-master: 10/17] 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: 10/17] GskTransform: Remove useless fmod check
- Date: Tue, 4 Feb 2020 09:16:40 +0000 (UTC)
commit 769d5f11ef8f5ad04e28c9866e9e3258646fe3fd
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]