|
|
"Shay" wrote:
> Can I define a function that takes a float and returns a vector?
No.
> Something like this:
>
> function Get_Vec {<x^2,x^3,x^4>}
> Get_Vec (2) ------> <4,8,16>
>
> Do I have to use a macro to accomplish this?
Either that or something like:
#declare vec = <Get_VecX(2),Get_VecY(2),Get_VecZ(2)>;
--
Jonathan.
Home: http://digilander.iol.it/jrgpov
Post a reply to this message
|
|