POV-Ray : Newsgroups : povray.general : 3.2.1.6.5 in docs--clarification needed : Re: 3.2.1.6.5 in docs--clarification needed Server Time
29 Jul 2024 04:18:11 EDT (-0400)
  Re: 3.2.1.6.5 in docs--clarification needed  
From: Stephen
Date: 27 Feb 2013 14:07:20
Message: <512e5968$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.