"mysdn" <kam### [at] hotmail com> wrote:
>... Now I would like to ask something else
> does povray if statement support 2 conditions at once. such as C# if statements.
>
> instead of this
> eg. #if (DoorCount < 1)// no door
> #if(IsGlassDoor) //door is glass
>
> I want to write this
> #if (DoorCount < 1) or (IsGlassDoor)
>
> //bla bla
>
> #end
> thank you
>
> ibrahim
In winpov help 3.2.1.3.3 Operators/ logical expressions
(A & B) true only if both A and B are true, false otherwise
(A | B) true if either A or B or both are true
Hope this helps
Stephen S
Post a reply to this message
|