Wlodzimierz ABX Skiba wrote: > ...could be more precise and still short > > #macro Sign(P) > (P>0?1:P<0?-1:0) > #end Who says the sign of 0 is 0? ;-) -- David Fontaine <dav### [at] faricynet> ICQ 55354965 My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message