|
![](/i/fill.gif) |
That won't work if the object needs to be translated different distances
along different axies.
Brendan Ryan
Peter Popov wrote:
> On Wed, 13 Oct 1999 21:33:56 -0400, Andrea Ryan <ary### [at] global2000 net>
> wrote:
>
> > Is it a good idea to include transformations in macros like:
> <code>
> >or let others add object statements and transformations?
> >Brendan Ryan
>
> You should take advantage of the dot "." operator. For example:
>
> #macro Foo (Trans, Rot, Scale) // These are all vectors
> #local TransZ = Trans.z;
> ...
> #end
>
> This way you'll pass the macro three times less parameters.
>
> Peter Popov
> ICQ: 15002700
Post a reply to this message
|
![](/i/fill.gif) |