|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
--
http://www.flash.net/~djconnel/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
|
|