|
|
clipka <ano### [at] anonymousorg> wrote:
> This is the approach I would recommend.
>
> You can get around the problem of cluttering up global namespace with
> gazillions of identifiers, by making use of a dictionary to store the
> components, like so:
>
> #declare MyComponents = dictionary;
>
> #declare MyComponents.Body = mesh { ... }
> #declare MyComponents.Hair = mesh { ... }
After updating to 3.7.1, refactoring to use dictionaries, and general tweaking,
the macro approach is working. It's not as clean as I'd hoped but it does the
job.
Post a reply to this message
|
|