|
![](/i/fill.gif) |
Warp wrote:
> Jan Fricke <fri### [at] math uni-siegen de> wrote:
>
>>How can I define a function that constructs an object depending on a
>>parameter?
>>For exampel
>
>
>>ball(t, r)
>
>
>>should give something like
>
>
>>sphere { < t, 0, 0> , r}
>
>
> Not possible with a function, but with a #macro it's easy:
>
> #macro ball(T, R)
> sphere { <T, 0, 0>, R }
> #end
>
OK, thanks a lot for the fast answer.
Jan
Post a reply to this message
|
![](/i/fill.gif) |