|
|
On 27/02/2013 4:14 PM, Warp wrote:
> Kenneth <kdw### [at] gmailcom> wrote:
>> Here are the two code lines given there:
>
>> #declare Vec = foo(1,2,3)
>
>> and
>
>> #declare Val = foo(2,3,4).gray
>
>> What do the values (1,2,3) and (2,3,4) represent?
>
> They mean whatever the function wants them to mean. The function
> constructs the vector from those values.
>
Do you mean that you could write:
#declare Vec = foo(A,B,C)
#declare Val = foo(X,Y,Z).gray
or
#declare Val = foo(1,2,3).gray
even
And that would the same as writing:
#declare Vec = foo(1,2,3)
#declare Val = foo(2,3,4).gray
?
--
Regards
Stephen
Post a reply to this message
|
|