POV-Ray : Newsgroups : povray.programming : URGENT: FRAME structure : Re: URGENT: FRAME structure Server Time
28 Jul 2024 20:22:33 EDT (-0400)
  Re: URGENT: FRAME structure  
From: Thorsten Froehlich
Date: 18 Aug 2000 08:21:37
Message: <399d2a51@news.povray.org>
In article <399D27CE.F6D3DC58@ida.utb.hb.se> , Mikael Carneholm 
<sa9### [at] idautbhbse>  wrote:

>> And just as another side note:  What is the difference between a struct and
>> a class only containing public data members...?
>>
>
> As long as you don't want to inherit from that class: none....

Exactly, so why would it make any difference if it is a class or a struct?

After all, this is the idea behind the rewrite of POV-Ray 4.0:  it is not
about calling every struct "class" now, as a matter of fact a lot of code
has to be changed to provide proper encapsulation.  And this is the major
problem in the current POV-Ray core code <sigh>


     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.