|
|
"Jaime Vives Piqueres" <jai### [at] ignoranciaorg> wrote in message
news:3C0### [at] ignoranciaorg...
> > Yes, but I was aiming for a single macro to use in place of scale.
>
> Hmmm... perhaps...
>
> #macro Scale(Amnt)
> scale Amnt+<(Amnt.x=0?1:0),(Amnt.y=0?1:0),(Amnt.z=0?1:0)>
> #end
>
> then for example use "Scale(3*y)" instead "scale 3*y".
>
To risk flogging this thing to death, the problem here was that if you pass
a float as opposed to a vector you get an error so you need to turn Amnt
into an equivilant vector first.
-tgq
Post a reply to this message
|
|