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

> specification of the exact scope you are working on.  But why would
> you want to have to write "self.radius = 1" if you could just as well
> implement it such that you can write "radius = 1"?

because this is needed to pass current object (this) to other function.
same as in C++ you would write draw(this);  and not :
temporary_object = { ... };
draw(temporary_object);
  




-- 


Post a reply to this message

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