|
|
Okay, I can understand that.
With my code, it was similar to the code in label Wrong:
By adding the union statement to my macro, I got the same effect as with
your "Also Correct:"
"Lutz-Peter Hooge" <lpv### [at] gmxde> wrote in message
news:3eed6cbc$1@news.povray.org...
> Jessie K. Blair <jbl### [at] earthlinknet> wrote:
>
> > This is a little more towards my understanding... However, I'm not sure
I
> > understand why there would be a limitation on the objects in a macro.
>
> There isn't. The problem is not with the objects IN your macro, it is with
> the object inside wich the macro is called.
>
> Wrong:
> #macro foo()
> sphere{0,1}
> sphere{0,2}
> #end
> object{foo()}
>
> Correct:
> #macro foo()
> sphere{0,1}
> sphere{0,2}
> #end
> union{foo()}
>
> Also correct:
> #macro foo()
> union{
> sphere{0,1}
> sphere{0,2}
> }
> #end
> object{foo()}
>
> Lutz-Peter
Post a reply to this message
|
|