POV-Ray : Newsgroups : povray.programming : this : Re: this Server Time
28 Jul 2024 16:23:28 EDT (-0400)
  Re: this  
From: Rafal 'Raf256' Maj
Date: 25 Jun 2002 17:16:45
Message: <Xns9238EC4CC6811raf256com@204.213.191.226>
"Thorsten Froehlich" <tho### [at] trfde> wrote in 
news:3d18dc52@news.povray.org:

>> 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.

and if I use some 

#macro fun(obj)
  (max_extent(obj)+min_extent(obj)+sin(....)+....)
#end

instead of just max_extent ?

-- 


Post a reply to this message

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