POV-Ray : Newsgroups : povray.programming : this : Re: this Server Time
28 Jul 2024 10:28:51 EDT (-0400)
  Re: this  
From:
Date: 24 Jun 2002 03:56:00
Message: <jjjdhuovu580f2aiafn00omj3r2651bj6h@4ax.com>
> > > #declare obj = union { .....  }
> > > object { obj translate (max_extent(obj)-min_extent(obj))/2 }
> > > So it would be useful to declare keyword 'this' :
> > Isn't it also clear, fast and easy when you
> > just use Center_Object macro from 3.5 ?
>
> ups, I gues i didnt notice it :)
>
> but 'this' can be probably useful for other things, and It is probably easy 
> to implement

Perhaps but even such simple thing like etents can be optimized when
calculated after object modifiers parsing. Using it inside object modifiers
could be hard before '}'. Moreover AFAIK extents are only properity available
for script.

BTW: it is always nice to meet fellow from Poland :-)

ABX


Post a reply to this message

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