|  |  | Charles C <nomail@nomail> wrote:
> It should be in functions.inc in your include directory....   If not here's
> the cut/paste:
> #macro eval_pigment(pigm, vec)
>     #local fn = function { pigment { pigm } }
>     #local result = (fn(vec.x, vec.y, vec.z));
>     result
> #end
  If that is going to be called a lot, it may be a much better idea to
"inline" that macro so that the fn function is declared just once.
-- 
                                                          - Warp
Post a reply to this message
 |  |