POV-Ray : Newsgroups : povray.general : #declared Object Usage : Re: #declared Object Usage Server Time
11 Aug 2024 15:14:54 EDT (-0400)
  Re: #declared Object Usage  
From: David Wilkinson
Date: 30 Jun 1999 18:04:34
Message: <377d92f1.14325766@news.povray.org>
On Wed, 30 Jun 1999 14:43:09 -0700, Ken <tyl### [at] pacbellnet> wrote:
>
>  When did this become legal syntax and why ?
>
>#declare B = box {-1,1}
> B
>
>  I have always been under the impression a declared object needed
>to be wrapped in an object statment to work properly.
>
>e.g. object {B}

Yes, this surprised me too Ken.  When I first saw the code I thought - this will
never work - but it did! It certainly isn't consistent, but I'm not sure that
it's bad.
David

------------
dav### [at] cwcomnet
http://www.hamiltonite.mcmail.com
------------


Post a reply to this message

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