diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty b/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty index ab642ab963b..357028b73f0 100644 --- a/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty +++ b/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty @@ -809,10 +809,10 @@ \pgfmathsetmacro{\vycalc}{#2} \pgfmathsetmacro{\vzcalc}{#3} % - \pgfmathsetmacro{\vcalc}{ sqrt(\vxcalc^2 + \vycalc^2 + \vzcalc^2) } + \pgfmathsetmacro{\vcalc}{ sqrt((\vxcalc)^2 + (\vycalc)^2 + (\vzcalc)^2) } % \pgfmathsetmacro{\vcalc}{ (\vxcalc^2 + \vycalc^2 + \vzcalc^2)^.5 } - \pgfmathsetmacro{\vxycalc}{ sqrt(\vxcalc^2 + \vycalc^2) } + \pgfmathsetmacro{\vxycalc}{ sqrt((\vxcalc)^2 + (\vycalc)^2) } % \pgfmathsetmacro{\vxycalc}{ (\vxcalc^2 + \vycalc^2)^.5 } \pgfmathsetmacro{\tdplotrestheta}{asin(\vxycalc/\vcalc)} |