POV-Ray : Newsgroups : povray.general : Thanks for the Macros : Re: Thanks for the Macros Server Time
13 Aug 2024 19:24:55 EDT (-0400)
  Re: Thanks for the Macros  
From: Shaun Ivory
Date: 1 Sep 1998 21:12:25
Message: <35ec8c92.3249762@news.povray.org>
I was hoping against hope that macros would find their way into
povray.

As a programmer, I desperately wanted to use functions to do
repetitive things.  I even wrote several povray preprocessors for my
own use.

How can it get any better?

So, I'd just like to say thanks also!

On Sun, 05 Jul 1998 11:11:01 -0500, Dan Connelly <djc### [at] flashnet>
wrote:

>Macros are a wonderful feature.  For example, they
>allow me to do something I've wanted to do for a long
>time:
>
>   #macro vector_str(V, N1, N2)
>     concat(
>       "< ",
>       str(V.x, N1, N2), ", ",
>       str(V.y, N1, N2), ", ",
>       str(V.z, N1, N2),
>       " >"
>     )
>   #end


Post a reply to this message

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