|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Why
#declare V2 = <10, 20>;
#debug concat(str(V2.u,0,0),"\n")
works (and returns "10") but
#declare V2 = <10, 20>;
#debug concat(str(V2.v,0,0),"\n")
gives a "bad operands for period operator"?
See also that
#declare V2 = <10, 20>;
#declare V3 = <0,0,0>;
#declare V = V2+V3;
#debug concat(str(V.x,0,0)," ",str(V.y,0,0)," ",str(V.z,0,0),"\n")
gives ar result "10 10 10" (thus I think promotions don't work).
It behaves like this since 3.0 version, both under windows and ms-dos.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <36e7da5d.0@news.povray.org> , "Daniele Varrazzo"
<pir### [at] officineitnospam> wrote:
> #declare V2 = <10, 20>;
> #debug concat(str(V2.u,0,0),"\n")
>
> works (and returns "10") but
>
> #declare V2 = <10, 20>;
> #debug concat(str(V2.v,0,0),"\n")
>
> gives a "bad operands for period operator"?
These two work for me (POV-Ray 3.1d).
> #declare V2 = <10, 20>;
> #declare V3 = <0,0,0>;
> #declare V = V2+V3;
> #debug concat(str(V.x,0,0)," ",str(V.y,0,0)," ",str(V.z,0,0),"\n")
This does not...I forwarded it to Chris Young.
Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|