|
|
On 10 Jul 2002 21:06:38 -0400, "Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:
> --- Works o.k. ------
> #macro IInside(obj,vec)
> #local w = <1,2,3>;//trace(obj,vec,z);
> #if ((w.x=0)&(w.y=0)&(w.z=0)) 1 ; // <-- added ;
> #else 0 ; // <-- added ;
> #end
> #end
> #declare aaaa = IInside(obj,<0,0,0>) // <-- removed ;
You should really spend a little of time checking old posts and not waste own
time to work with not efficient macros. Considering commented trace is some
kind of your shortcut for some content you can write your stuff this way:
#macro IInside(obj,vec)
#local w = <1,2,3>;//trace(obj,vec,z);
(w.gray=0)
#end
ABX
Post a reply to this message
|
|