summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikz-3dplot
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 19:11:40 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 19:11:40 +0000
commitc7dc62be48e8b177ca923c449a385b51ac14b918 (patch)
tree8d09176421956ce45ac8191bbe30b17c25f8e3f3 /Master/texmf-dist/tex/latex/tikz-3dplot
parentc14b8786025185aece16677d28dbd7c9e4c7b506 (diff)
tikz-3Dplot update
git-svn-id: svn://tug.org/texlive/trunk@23338 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikz-3dplot')
-rw-r--r--Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty4
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)}