|
|
Am 27.08.2018 um 13:22 schrieb jr:
> "jr" <cre### [at] gmailcom> wrote:
>> clipka <ano### [at] anonymousorg> wrote:
>>> As a side note, it might be worth mentioning that `Array1[2][3]` now
>>> holds a /copy/ of `Array2`, not a reference.
>
> I love that this works too:
>
> <----- snip ----->
> #version 3.8;
>
> global_settings {assumed_gamma 1}
>
> #declare Aa = array[1][1][1][1][2];
>
> #declare Ab = array[2][2][2][2][2];
> #declare Ab[0][0][0][0][1] = 255;
>
> #declare Aa[0][0][0][0][1] = Ab;
>
> #debug concat("0 0 0 0 1 - 0 0 0 0 1 : ",
> str(Aa[0][0][0][0][1][0][0][0][0][1],0,0),
> ".\n")
> <----- snip ----->
>
> very neat. :-)
I /think/ you're overdoing it a bit ;)
Post a reply to this message
|
|