POV-Ray : Newsgroups : povray.beta-test : Not-a-bug list 2 Dec 2001 : Re: Not-a-bug list 2 Dec 2001 Server Time
30 Jul 2024 08:30:11 EDT (-0400)
  Re: Not-a-bug list 2 Dec 2001  
From: Thorsten Froehlich
Date: 2 Dec 2001 07:46:39
Message: <3c0a22af$1@news.povray.org>
In article <3c09f549@news.povray.org> , "R. Suzuki" <r-s### [at] aistgojp> 
wrote:

> According to POV Help 6.1.3.3., & and | are logical operators.
> Thus, the result of (A & B) or (A | B) should be always boolean
> values of 0 and 1.  However, these expressions return min()
> or max() values in isosurface functions of beta 8.
> I think this is wrong behavior.
>
> For me, && and || are more familiar as logical operators
> because those are used as so in Mathematica, C, etc.
> But unfortunately, & and | were adopted as logical operators
> in the previous POV-Ray version.

Exactly.  They will be changed to only work like boolean operators in a
future beta version.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.