POV-Ray : Newsgroups : povray.advanced-users : command capability / syntax : Re: command capability / syntax Server Time
26 Apr 2024 11:12:30 EDT (-0400)
  Re: command capability / syntax  
From: Kenneth
Date: 26 May 2017 13:35:05
Message: <web.5928665618337df883fb31c0@news.povray.org>
dick balaska <dic### [at] buckosoftcom> wrote:
> Am 2017-05-25 08:00, also sprach Bald Eagle:
> > I was wondering if:
> >
> > vectors can be used in Boolean conditional statements
> >
> > #if (Q = <1, 1, 1>)
>
> #if (VEq(Q,<1,1,1>)
>

That's interesting; didn't know it could be done. But other comments here imply
that <1,1,1> is actually <1,1,1,0,0>. In which case, #if(VEq...) would still
return 0 or "false"(?). Unless VEq5D is used; but the vector would still need
<1,1,1,1,1>, not <1,1,1>, for even VEq5D to return "true."

Am I understanding this correctly?


Post a reply to this message

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