diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-16 20:55:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-16 20:55:44 +0000 |
commit | abc0bc868286ffdfc3b7d6e0717cd7b2c35f7d6a (patch) | |
tree | 0af60efa125372c1240326e4b775264cfbcc3eb4 /Master/texmf-dist/doc/latex/circuit-macros/lib3D.m4 | |
parent | a6439a9cf26d146fb436c26e141a900ee2152007 (diff) |
circuit-macros (16oct19)
git-svn-id: svn://tug.org/texlive/trunk@52410 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuit-macros/lib3D.m4')
-rw-r--r-- | Master/texmf-dist/doc/latex/circuit-macros/lib3D.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/circuit-macros/lib3D.m4 b/Master/texmf-dist/doc/latex/circuit-macros/lib3D.m4 index 68c0ca3ba36..90bb05d2d10 100644 --- a/Master/texmf-dist/doc/latex/circuit-macros/lib3D.m4 +++ b/Master/texmf-dist/doc/latex/circuit-macros/lib3D.m4 @@ -3,7 +3,7 @@ lib3D.m4 Macros for rotation, projection, and other operations on argument triples representing 3D vectors. -* Circuit_macros Version 9.0, copyright (c) 2019 J. D. Aplevich under * +* Circuit_macros Version 9.1, copyright (c) 2019 J. D. Aplevich under * * the LaTeX Project Public License. The files of this distribution may * * be redistributed or modified provided that this copyright notice is * * included and provided that modifications are clearly marked to * @@ -26,6 +26,7 @@ ifdef(`libgen_',,`include(libgen.m4)divert(-1)') P =( -sin(az), cos(az), 0 ) (-sin(el)cos(az),-sin(az)sin(el),cos(el))' define(`setview',` +# setview m4azim=ifelse(`$1',,0,`$1',0,0,`prod_(`$1',dtor_)') m4elev=ifelse(`$2',,0,`$2',0,0,`prod_(`$2',dtor_)') m4rot =ifelse(`$3',,0,`$3',0,0,`prod_(`$3',dtor_)') |