"mysdn" <kam### [at] hotmailcom> wrote:
> instead of this
> eg. #if (DoorCount < 1)// no door
> #if(IsGlassDoor) //door is glass
>
> I want to write this
> #if (DoorCount < 1) or (IsGlassDoor)
Try this one:
#if ((DoorCount < 1) | IsGlassDoor)
Note that in POV-Ray this denotes logical "or", not bit-wise as in C#; POV-Ray
does not have a "||" operator.
As you may already guess, "&" is used to denote logical "and".
Post a reply to this message
|