diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-mirror_symmetry.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/live_effects/lpe-mirror_symmetry.cpp b/src/live_effects/lpe-mirror_symmetry.cpp index a9fb36626..afb7e2230 100644 --- a/src/live_effects/lpe-mirror_symmetry.cpp +++ b/src/live_effects/lpe-mirror_symmetry.cpp @@ -179,12 +179,12 @@ LPEMirrorSymmetry::doEffect_path (Geom::PathVector const & path_in) Geom::Translate m1(point_a[0], point_a[1]); double hyp = Geom::distance(point_a, point_b); double cos = 0; - double sen = 0; + double sin = 0; if (hyp > 0) { cos = (point_b[0] - point_a[0]) / hyp; - sen = (point_b[1] - point_a[1]) / hyp; + sin = (point_b[1] - point_a[1]) / hyp; } - Geom::Affine m2(cos, -sen, sen, cos, 0.0, 0.0); + Geom::Affine m2(cos, -sin, sin, cos, 0.0, 0.0); Geom::Scale sca(1.0, -1.0); Geom::Affine m = m1.inverse() * m2; |
