[pstricks] computed normal in \ThreeDput

MLuque5130 at aol.com MLuque5130 at aol.com
Mon Oct 31 21:35:35 CET 2005


A variant: use this macro of pst-3d adapted by Herbert Voss, I do not  
remember in which file...
 
\documentclass{article}
 
\usepackage{pst-3d}
 
\makeatletter
\def\pstSinCos#1#2#3{%
\begingroup%
\pst at getsinandcos{#1}
\edef\values{\endgroup%
\def\noexpand#2{\ifcase\pst at quadrant\or\or-\or-\fi\pst at sin}%
\def\noexpand#3{\ifcase\pst at quadrant\or-\or-\or\fi\pst at cos}}\values}
\makeatother
 
\begin{document}
\pstSinCos{30}\Sin\Cos
\begin{pspicture}(5,5)
\ThreeDput[normal=\Cos  0 \Sin](0,0,0){\psgrid(5,5)}
\end{pspicture}
\end{document}
 
ML
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20051031/e90f8eb5/attachment.html 


More information about the PSTricks mailing list