summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pst-solides3d/pst-solides3d.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pst-solides3d/pst-solides3d.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pst-solides3d/pst-solides3d.tex13
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-solides3d/pst-solides3d.tex b/Master/texmf-dist/tex/generic/pst-solides3d/pst-solides3d.tex
index 513d314b2e4..6d18285dba3 100644
--- a/Master/texmf-dist/tex/generic/pst-solides3d/pst-solides3d.tex
+++ b/Master/texmf-dist/tex/generic/pst-solides3d/pst-solides3d.tex
@@ -24,8 +24,8 @@
\ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi
\ifx\MultidoLoaded\endinput\else \input multido.tex \fi
% JPV & ML & AS & HV
-\def\fileversion{4.31}
-\def\filedate{2016/12/10}
+\def\fileversion{4.32}
+\def\filedate{2017/03/03}
\message{`PSTSOLIDESIIID' v\fileversion, \filedate}
%
\pstheader{pst-solides3d.pro}
@@ -44,9 +44,9 @@
% point de vue et rotations de l'objet
% distance de l'ecran a l'observateur
%
-\define@key[psset]{pst-solides3d}{viewpoint}{\def\pst@solides@viewpoint{#1}}% position de l'observateur
+\define@key[psset]{pst-solides3d}{viewpoint}{\def\pst@solides@viewpoint{#1 }}% position de l'observateur
\psset[pst-solides3d]{viewpoint=10 10 10}% coordonnees cartesiennes
-\define@key[psset]{pst-solides3d}{Decran}{\def\pst@solides@Decran{#1}}% distance de l'ecran
+\define@key[psset]{pst-solides3d}{Decran}{\def\pst@solides@Decran{#1 }}% distance de l'ecran
\define@key[psset]{pst-solides3d}{RotX}{\def\psk@solides@RotX{#1}}% rotation autour de Ox en degres
\define@key[psset]{pst-solides3d}{RotY}{\def\psk@solides@RotY{#1}}% rotation autour de Oy en degres
\define@key[psset]{pst-solides3d}{RotZ}{\def\psk@solides@RotZ{#1}}% rotation autour de Oz en degres
@@ -328,7 +328,9 @@ plan,offfile,geode,load,plantype,point,pie,droite,polygone,cercle,rightangle}
%\define@key[psset]{pst-solides3d}{Dy}{\pst@checknum{#1}\psk@solides@Dy }
%\define@key[psset]{pst-solides3d}{Dz}{\pst@checknum{#1}\psk@solides@Dz }
\psset[pst-solides3d]{stepX=1,stepY=1,stepZ=1,ticklength=0.2}% the step for the axes labels
-
+\define@key[psset]{pst-solides3d}{xytranslate}{\def\pst@solides@xytranslate{#1 }}
+\psset[pst-solides3d]{xytranslate=0 0}
+%
\def\gridIIID{\pst@object{gridIIID}}
%% usage : \gridIIID[options](x_min,x_max)(y_min,y_max)
\def\gridIIID@i(#1,#2)(#3,#4){%
@@ -554,6 +556,7 @@ viewpointXYZ /ZpointVue ED /YpointVue ED /XpointVue ED
/Dobs {XpointVue dup mul YpointVue dup mul add ZpointVue dup mul add sqrt} bind def
% CoefficientsMT
XpointVue YpointVue ZpointVue /viewpoint defpoint3d
+\pst@solides@xytranslate /transY ED /transX ED
>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%