|
|
clipka <ano### [at] anonymousorg> wrote:
> How about
>
> #declare (a,b,c,d) = (1,2,3,4);
> - It is already implemented in the current 3.7.1-alpha ;)
http://news.povray.org/povray.beta-test/thread/%3C558b4c09$1@news.povray.org%3E/
I see. Thanks for the tip :)
Although it's not explicitly stated in your post that I linked, I'm assuming I
can't mix strings and floats and array elements in a single "tuple-style"
declare.
e.g. #declare (a, filename, MyArray[3]) = (4.2, "TestFile", <1, 2, 3>)
or a mix of scalar and vector quantities
#declare (g, h, i) = (1, <3, 4, 5>, 567.89)
IIRC, someone came up with a way to "trick" POV-Ray to "mix" element types using
arrays of arrays....
Post a reply to this message
|
|