news:2151hu4iabm314mvp8sb0bi1i3inn3ghdq@4ax.com...
> Consider such example
>
>1 //START
>2 #macro fooTexture()
>3 texture { pigment { rgb y } }
>4 #if (Condition)
>5 #declare TMP=texture{ pigment{ rgb x } }
>6 #end
>7 texture{ pigment { rgb z } }
>8 #end
>9 #declare foo_texture = fooTexture()
>10 //END
Conditional directives are nesting. Therefore the #end on line 6 closes the
#if on line 4, and the #end on line 8 closes the #macro on line 2. What am
I missing?
-Scott
Post a reply to this message
|