[latex3-commits] [git/LaTeX3-latex3-latex3] master: l3draw: Fix issue in polar vectors (c852654)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Feb 9 11:11:49 CET 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/c8526548dd80613d252b21749474f0986a9fe8e8

>---------------------------------------------------------------

commit c8526548dd80613d252b21749474f0986a9fe8e8
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Feb 9 10:07:19 2018 +0000

    l3draw: Fix issue in polar vectors


>---------------------------------------------------------------

c8526548dd80613d252b21749474f0986a9fe8e8
 l3trial/l3draw/l3draw-points.dtx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3trial/l3draw/l3draw-points.dtx b/l3trial/l3draw/l3draw-points.dtx
index 76a2992..0952ec9 100644
--- a/l3trial/l3draw/l3draw-points.dtx
+++ b/l3trial/l3draw/l3draw-points.dtx
@@ -580,9 +580,9 @@
 \cs_new:Npn \@@_draw_vec_polar:nw #1#2 ~ and ~ #3 ~ #4 \q_stop
   {
     { \fp_to_dim:n { cosd(#1) * (#2) * \l_@@_xvec_x_dim } }
-    { \fp_to_dim:n { sind(#1) * (#3) * \l_@@_xvec_y_dim } }
+    { \fp_to_dim:n { sind(#1) * (#3) * \l_@@_yvec_y_dim } }
   }
-\cs_generate_variant:Nn \@@_draw_polar:nw { f }
+\cs_generate_variant:Nn \@@_draw_vec_polar:nw { f }
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}





More information about the latex3-commits mailing list