I haven't used this, but is there a specific reason why the macro
returns the result in a fixed variable name? If you simply write
union {
object {HouseBlock}
object {Single}
}
without #declare you can use the macro like this
#declare HouseBlock = Urbanism(
...
)
or like this
object
{
Urbanism(...)
textures {...}
}
Also there are some other uses of #declare in the macro
that are probably intended to be #local.
Not a criticisms, just a general observation that coding is
usually less confusing if something you call "returns a value"
as opposed to having "side effects".
Post a reply to this message
|