|
![](/i/fill.gif) |
LibraryMan wrote:
>
> Hi,
> I'm trying to do a prism with a dodecagon (? -- anyway, polygon with 12
> equal sides ) face and instead of trying to figure out the exact vectors
> of the points, I wanted to do something like specifying every 4th
> vector, then rotating the in-betweens around the y-axis, like this:
>
> #declare v_01 = <0.5, 0> ;
> #declare v_02 = <0.5, 0> rotate y*30 ;
> [...]
Bob's suggestion is surely the best for your purpose but
rotating/transforming vectors can be done with
'vrotate()'/'vtransform()'. See the documentation for details.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 02 Nov. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
![](/i/fill.gif) |