diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tkz-elements/tkz_elements_triangle.lua')
-rw-r--r-- | Master/texmf-dist/tex/latex/tkz-elements/tkz_elements_triangle.lua | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/tkz-elements/tkz_elements_triangle.lua b/Master/texmf-dist/tex/latex/tkz-elements/tkz_elements_triangle.lua index d68084d5f88..0d2699ac557 100644 --- a/Master/texmf-dist/tex/latex/tkz-elements/tkz_elements_triangle.lua +++ b/Master/texmf-dist/tex/latex/tkz-elements/tkz_elements_triangle.lua @@ -1,6 +1,6 @@ -- tkz_elements_triangles.lua --- date 2024/01/16 --- version 1.82c +-- date 2024/02/04 +-- version 2.00c -- Copyright 2024 Alain Matthes -- This work may be distributed and/or modified under the -- conditions of the LaTeX Project Public License, either version 1.3 @@ -24,9 +24,9 @@ function triangle: new (za, zb ,zc) local c = point.abs(zb-za) local a = point.abs(zc-zb) local b = point.abs(za-zc) - local alpha = point.arg ((zc-za) / (zb-za)) - local beta = point.arg ((za-zb) / (zc-zb)) - local gamma = point.arg ((zb-zc) / (za-zc)) + local alpha = angle_normalize_(point.arg ((zc-za) / (zb-za))) + local beta = angle_normalize_(point.arg ((za-zb) / (zc-zb))) + local gamma = angle_normalize_(point.arg ((zb-zc) / (za-zc))) local ab = line : new (za,zb) local ca = line : new (zc,za) local bc = line : new (zb,zc) @@ -139,7 +139,6 @@ function triangle : point (t) end function triangle : soddy_center () - local s,i,j,k return soddy_center_ (self.pa,self.pb,self.pc) end ------------------- |