POV-Ray : Newsgroups : povray.programming : this : Re: this Server Time
28 Jul 2024 16:14:46 EDT (-0400)
  Re: this  
From: Thorsten Froehlich
Date: 25 Jun 2002 17:10:42
Message: <3d18dc52@news.povray.org>
In article <Xns### [at] 204213191226> , "Rafal 'Raf256' 
Maj" <raf### [at] raf256com> wrote:

> wouldn't it be nicer to write above just as :
>
> union {
>  ........
>  translate max_extent( this ).x*3
>  rotate y*3
>  translate max_extent( this )*9
> }

Yes, but

 translate max_extent.x*3
 rotate y*3
 translate max_extent*9

would be completely sufficient!  No "this" or "self" necessary.

    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.