POV-Ray : Newsgroups : povray.general : grouping transforms into one final rotation? : Re: grouping transforms into one final rotation? Server Time
2 May 2024 21:11:13 EDT (-0400)
  Re: grouping transforms into one final rotation?  
From: Kenneth
Date: 19 Sep 2018 22:25:01
Message: <web.5ba303b681dcebf3a47873e10@news.povray.org>
Alain <kua### [at] videotronca> wrote:
> Le 18-09-17 à 16:38, Kenneth a écrit :
> You can replace this :
>
> > #debug concat ("\n","rotate    <",
> >            str (......,0,3),str(.......,0,3),str (......,0,3),
> >                   ">\n")
> >
> With this :
> #debug concat("\n","rotate  =  <"vstr(3,.......", ",0,3)">\n>)
>
> Similar to str.
> The first paremeter is the numbet of elements to parse.
> The third is a string to be used as a separator.
>
> I think that it's clearer and cleaner.

Yes, I'm actually more familiar with your version, but I got a bit lazy and used
the longer one. ;-)  I also sometimes forget what the exact 'cleaner' syntax is.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.