|
|
Am 21.03.2016 um 03:07 schrieb Bald Eagle:
> 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)
You're assuming wrong there in every respect :)
> IIRC, someone came up with a way to "trick" POV-Ray to "mix" element types using
> arrays of arrays....
In this context, I guess it's worth noting that the above syntax is just
shorthand for multiple declares; there is still no tuple data type, i.e.
#declare MyTuple = (1,2,3);
#declare (a,b,c) = MyTuple;
will NOT work.
Post a reply to this message
|
|