|
|
I find that I can use the following code:
#declare a = 1;
#sphere {a,a pigment{color rgb a}}
Furthermore, the following code:
#declare a = 1;
#sphere {a.x,a pigment{color rgb a}}
gives the same result, i.e. a.x gives the x component, which is 1, which
is then re-interpreted as the vector <1,1,1>
Obviously not good style, but is "a" held internally both as a float and
as a vector? I appreciate any insight into this.
--
Kaveh
Post a reply to this message
|
|