summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/lib3D.m4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/lib3D.m4')
-rw-r--r--graphics/circuit_macros/lib3D.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/circuit_macros/lib3D.m4 b/graphics/circuit_macros/lib3D.m4
index 68c0ca3ba3..90bb05d2d1 100644
--- a/graphics/circuit_macros/lib3D.m4
+++ b/graphics/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_)')