summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/dvips/pst-3dplot
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-01-30 22:57:32 +0000
committerKarl Berry <karl@freefriends.org>2014-01-30 22:57:32 +0000
commitf9b6fc357ce2d792bde2938759b2c77efd98c6d1 (patch)
tree2c65376c15fb46b0d28b1f2b7b833692500113b9 /Master/texmf-dist/dvips/pst-3dplot
parenta2f64a193fa3d36e97770a8254b905bd2d009d05 (diff)
pst-3dplot (30jan14)
git-svn-id: svn://tug.org/texlive/trunk@32824 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/dvips/pst-3dplot')
-rw-r--r--Master/texmf-dist/dvips/pst-3dplot/pst-3dplot.pro12
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/dvips/pst-3dplot/pst-3dplot.pro b/Master/texmf-dist/dvips/pst-3dplot/pst-3dplot.pro
index f860fcba763..9829845db6f 100644
--- a/Master/texmf-dist/dvips/pst-3dplot/pst-3dplot.pro
+++ b/Master/texmf-dist/dvips/pst-3dplot/pst-3dplot.pro
@@ -1,4 +1,4 @@
-%% $Id: pst-3dplot.pro 467 2011-03-01 21:04:36Z herbert $
+%% $Id: pst-3dplot.pro 879 2014-01-30 09:44:31Z herbert $
%%
%% This is file `pst-3dplot.pro',
%%
@@ -16,7 +16,7 @@
%% `pst-3dplot' is a PSTricks package to draw 3d curves and graphical objects
%%
%%
-%% version 0.31 / 2010-02-20 Herbert Voss <hvoss _at_ tug.org>
+%% version 0.31 / 2014-01-29 Herbert Voss <hvoss _at_ tug.org>
%% with contributions of Darrell Lamm <darrell.lamm _at_ gtri.gatech.edu<
%%
%
@@ -54,6 +54,14 @@ tx@3DPlotDict begin
/x2D x -0.5 mul y 1 mul add def
/y2D x -0.5 mul y -0.25 mul add z 1 mul add def
exit } if
+ coorType 5 le { % coorType |/_ with a 1/2 shortend x-axis and 135 degrees
+ /x2D x z 0.5 mul Alpha cos mul add def
+ /y2D y z 0.5 mul Alpha sin mul add def
+ exit } if
+ coorType 6 le { % coorType |/_ with a 1/2 shortend x-axis and 135 degrees and z into the front
+ /x2D y x neg 0.559 mul Alpha cos mul add def
+ /y2D z x neg 0.559 mul Alpha sin mul add def
+ exit } if
} repeat
} def
/ConvertTo2D { true 3Dto2D } def